Files
paparazzi/conf/modules/mcp355x.xml
T
Gautier Hattenberger e4d9e10492 [modules][ocaml] implement module dependency (#2669)
- support depends, conflicts and provides nodes, all under a 'dep' node
- autoload are kept for now and are not moved yet
- modules are updated for new dep format
- it is now required that module's name and filename are the same
2021-03-16 17:47:34 +01:00

23 lines
493 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="mcp355x" dir="adcs">
<doc>
<description>MCP355X ADC driver (SPI)</description>
</doc>
<dep>
<depends>spi_master</depends>
</dep>
<header>
<file name="mcp355x.h"/>
</header>
<init fun="mcp355x_init()"/>
<periodic fun="mcp355x_read()" freq="10"/>
<event fun="mcp355x_event()"/>
<makefile target="ap">
<file name="mcp355x.c" dir="peripherals"/>
<define name="USE_SPI_SLAVE0"/>
</makefile>
</module>