mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 00:53:41 +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
25 lines
776 B
XML
25 lines
776 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
<!--
|
|
DROP_SERVO_CLOSED and DROP_SERVO_OPEN can be redefined in airframe file
|
|
units: PWM width in us
|
|
-->
|
|
|
|
<module name="drop">
|
|
<doc>
|
|
<description>Drop control for BOOZ board</description>
|
|
<define name="DROP_SERVO_OPEN" value="pwm" description="PWM value when servo is in open position in us (optional)"/>
|
|
<define name="DROP_SERVO_CLOSED" value="pwm" description="PWM value when servo is in closed position in us (optional)"/>
|
|
</doc>
|
|
<!-- depend require="booz_pwm" -->
|
|
<header>
|
|
<file name="booz_drop.h"/>
|
|
</header>
|
|
<init fun="booz_drop_init()"/>
|
|
<periodic fun="booz_drop_periodic()" freq="10."/>
|
|
<makefile>
|
|
<define name="USE_DROP"/>
|
|
<file name="booz_drop.c"/>
|
|
</makefile>
|
|
</module>
|
|
|