mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
8be5c426b6
Start working on #940 This replaces ```xml <depend require="foo|bar" conflict="baz"/> ``` with ```xml <depends>foo,bar</depends> <conflicts>baz</conflicts> ``` and now allows to specify OR dependencies with | (pipe) similaro to Debian depends: ```xml <depends>foo,bar,this|that</depends> ``` which would depend on: foo AND bar AND (this OR that)
18 lines
386 B
XML
18 lines
386 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="windturbine" dir="meteo">
|
|
<doc>
|
|
<description></description>
|
|
</doc>
|
|
<depends>trig_test.xml</depends>
|
|
<header>
|
|
<file name="windturbine.h"/>
|
|
</header>
|
|
<periodic fun="windturbine_periodic()" freq="10"/>
|
|
<makefile>
|
|
<file name="windturbine.c"/>
|
|
<define name="TURBINE_ID" value="42"/>
|
|
</makefile>
|
|
</module>
|
|
|