[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:
Gautier Hattenberger
2017-01-26 22:09:55 +01:00
committed by Felix Ruess
parent b47c10fd00
commit 46bec882f3
14 changed files with 203 additions and 21 deletions
+18
View File
@@ -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>