mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
bcaba7c720
modules developpers can provide - a description of the module - a list of the configuration variables and flags (configure and define) - a list of sections to add to the airframe file
21 lines
474 B
XML
21 lines
474 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="mcp355x" dir="adcs">
|
|
<doc>
|
|
<description>MCP355X ADC driver (SPI)</description>
|
|
</doc>
|
|
<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"/>
|
|
<define name="SPI_MASTER"/>
|
|
</makefile>
|
|
</module>
|
|
|
|
|