Actuators Driver for Bebop 1 and 2
No detailed description...
Example for airframe file
Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!
1 <module name="actuators_bebop">
2 <configure name="BEBOP_ACTUATORS_I2C_DEV" value="i2cX" />
Module configuration options
Configure Options
- name:
BEBOP_ACTUATORS_I2C_DEV
value: i2cX
Description: I2C port (default i2c1)
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw actuators_bebop.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_bebop" dir="actuators" task="actuators">
<doc>
<description>
Actuators Driver for Bebop 1 and 2
</description>
<configure name="BEBOP_ACTUATORS_I2C_DEV" value="i2cX" description="I2C port (default i2c1)"/>
</doc>
<header>
<file name="actuators.h" dir="boards/bebop"/>
</header>
<makefile target="ap">
<configure name="BEBOP_ACTUATORS_I2C_DEV" default="i2c1" case="upper|lower"/>
<define name="ACTUATORS"/>
<define name="BEBOP_ACTUATORS_I2C_DEV" value="$(BEBOP_ACTUATORS_I2C_DEV_LOWER)"/>
<define name="USE_$(BEBOP_ACTUATORS_I2C_DEV_UPPER)"/>
<file name="actuators.c" dir="$(SRC_BOARD)"/>
</makefile>
</module>