Files
paparazzi/conf/modules/digital_cam_i2c.xml
T
Felix Ruess 8be5c426b6 [modules] start pimping dependencies
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)
2014-12-08 10:33:28 +01:00

38 lines
1.1 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="atmega_i2c_cam_ctrl" dir="digital_cam">
<doc>
<description>
Trigger Digital Camera (I2C).
Using I2C connected remote microcontroller
</description>
<define name="DC_SHOOT_ON_BUTTON_RELEASE" />
<define name="DC_SHOT_SYNC_SEND" value="TRUE|FALSE" description="send DC_SHOT message when photo was taken (default: TRUE)"/>
</doc>
<conflicts>digital_cam,digital_cam_servo,digital_cam_uart</conflicts>
<header>
<file name="atmega_i2c_cam_ctrl.h"/>
<file name="dc.h"/>
</header>
<init fun="atmega_i2c_cam_ctrl_init()"/>
<periodic fun="atmega_i2c_cam_ctrl_periodic()" autorun="TRUE" freq="4"/>
<event fun="atmega_i2c_cam_ctrl_event()"/>
<datalink message="PAYLOAD_COMMAND" fun="ParseCameraCommand()"/>
<makefile target="ap">
<file name="atmega_i2c_cam_ctrl.c"/>
<file name="dc.c"/>
<define name="ATMEGA_I2C_DEV" value="i2c0"/>
<define name="USE_I2C0" value="1"/>
</makefile>
<makefile target="sim">
<file name="sim_i2c_cam_ctrl.c"/>
<file name="dc.c"/>
</makefile>
</module>