Files
paparazzi/conf/modules/demo_module.xml
T
Gautier Hattenberger bcaba7c720 [modules documentation] Add a doc node to module
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
2012-04-24 09:29:12 +02:00

26 lines
715 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="demo_module">
<doc>
<description>Demo module</description>
</doc>
<header>
<file name="demo_module.h"/>
</header>
<init fun="init_demo()"/>
<periodic fun="periodic_1Hz_demo()" freq="1." start="start_demo()" stop="stop_demo()" autorun="TRUE"/>
<periodic fun="periodic_10Hz_demo()" period="0.1" start="start_demo()" stop="stop_demo()" autorun="FALSE"/>
<makefile>
<raw>
#Example of RAW makefile part
</raw>
<define name="DEMO_MODULE_LED" value="2"/>
<file name="demo_module.c"/>
</makefile>
<makefile target="demo">
<define name="SOME_FLAG"/>
<configure name="SOME_DEFINE" value="bla"/>
</makefile>
</module>