mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-11 16:02:47 +08:00
e851238972
* [UART & I2C] factorize error telemetry functions. * Fix test --------- Co-authored-by: Fabien-B <Fabien-B@github.com>
23 lines
583 B
XML
23 lines
583 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="i2c" dir="mcu_periph" task="mcu">
|
|
<doc>
|
|
<description>
|
|
General I2C driver
|
|
To activate a specific I2C peripheral, define flag USE_I2CX where X is your I2C peripheral number
|
|
</description>
|
|
</doc>
|
|
<header>
|
|
<file name="i2c.h" dir="mcu_periph"/>
|
|
</header>
|
|
<makefile>
|
|
<file name="i2c.c" dir="mcu_periph"/>
|
|
<file name="softi2c.c" dir="mcu_periph"/>
|
|
<file_arch name="i2c_arch.c" dir="mcu_periph"/>
|
|
<test>
|
|
<define name="USE_I2C2" value="TRUE"/>
|
|
</test>
|
|
</makefile>
|
|
</module>
|
|
|