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
26 lines
715 B
XML
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>
|
|
|