mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-25 23:46:04 +08:00
46055fc8f8
* [chibios] Fix i2c hanging full autopilot for 50ms and better error handling * [airspeed] Fix ms45xx faulty readings * [board] Fix cube orange test build * [actuators] Remove actuators_ppm which is not implemented * [ppm] Fix warnings for lisa mx and lisa m * [tests] Fix test build and std.h include for TRUE/FALSE * [chibios] Update to latest paparazzi version
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="radio_control_ppm" dir="radio_control" task="radio_control">
|
|
<doc>
|
|
<description>
|
|
Radio control based on PPM input
|
|
|
|
Some STM32 boards have the option to configure RADIO_CONTROL_PPM_PIN.
|
|
See the board makefile for configure options of the pins.
|
|
If they set the PPM_CONFIG makefile variable, add it to the target.
|
|
The PPM_CONFIG define is then used in the _board_.h file to set the configuration.
|
|
</description>
|
|
<configure name="PPM_CONFIG" value="num" description="Select PPM config, as some boards can used different mapping for the ppm input pin"/>
|
|
</doc>
|
|
<dep>
|
|
<depends>radio_control_common</depends>
|
|
<provides>radio_control</provides>
|
|
</dep>
|
|
<header>
|
|
<file name="ppm.h"/>
|
|
</header>
|
|
<init fun="ppm_init()"/>
|
|
<event fun="ppm_event()"/>
|
|
<makefile target="ap|fbw|sim|nps|hitl">
|
|
<define name="USE_PPM" value="TRUE"/>
|
|
<define name="PPM_CONFIG" value="$(PPM_CONFIG)" cond="ifdef PPM_CONFIG"/>
|
|
<define name="RADIO_CONTROL_TYPE_PPM"/>
|
|
<file name="ppm.c"/>
|
|
<file_arch name="ppm_arch.c"/>
|
|
<test>
|
|
<define name="RADIO_CONTROL_TYPE_PPM"/>
|
|
</test>
|
|
</makefile>
|
|
</module>
|
|
|