mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 18:07:25 +08:00
[modules] start adding MCU periph modules (#1989)
Modules for MCU peripherals. Previous subsystems or direct definition in firmware makefile are kept for now, until dependencies are properly handled.
This commit is contained in:
committed by
Felix Ruess
parent
b47c10fd00
commit
46bec882f3
@@ -0,0 +1,18 @@
|
||||
<!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_arch name="i2c_arch.c" dir="mcu_periph"/>
|
||||
</makefile>
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user