Files
paparazzi/conf/modules/radio_control_hott.xml
T
Maximilian Laiacker ae8141490d added hott sumd radio control input (#2030)
Added Graupner HOTT SUMD serial rc control protocol.
I used the sbus implementation as base for the hott sumd input.
Tested with lisa m 2.0 uart1 and Graupner GR-12L with 9 and 12 channels.
Should work with 2 to 32 channels.
and example airframe config.
2017-03-06 21:23:53 +01:00

42 lines
1.8 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="radio_control_hott" dir="radio_control">
<doc>
<description>
Radio control based on Graupner HOTT SUMD
</description>
<configure name="RADIO_CONTROL_LED" value="none|num" description="LED number or 'none' to disable"/>
<configure name="HOTT_PORT" value="UARTX" description="UART name where HOTT receiver is plugged"/>
</doc>
<header>
<file name="hott.h" dir="subsystems/radio_control"/>
</header>
<makefile target="ap|fbw">
<configure name="RADIO_CONTROL_LED" default="none"/>
<configure name="HOTT_UART" value="$(HOTT_PORT)" case="upper|lower"/>
<define name="RADIO_CONTROL_LED" value="$(RADIO_CONTROL_LED)" cond="ifneq ($(RADIO_CONTROL_LED),none)"/>
<define name="RADIO_CONTROL_TYPE_H" value="subsystems/radio_control/hott.h" type="string"/>
</makefile>
<makefile target="fbw">
<define name="RADIO_CONTROL"/>
<define name="RADIO_CONTROL_TYPE_HOTT"/>
<define name="USE_$(HOTT_UART_UPPER)"/>
<define name="$(HOTT_UART_UPPER)_BAUD" value="B115200"/>
<define name="HOTT_UART_DEV" value="$(HOTT_UART_LOWER)"/>
<file name="radio_control.c" dir="subsystems"/>
<file name="hott.c" dir="subsystems/radio_control"/>
<file name="hott_common.c" dir="subsystems/radio_control"/>
</makefile>
<makefile target="ap" cond="ifeq (,$(findstring $(SEPARATE_FBW),1 TRUE))">
<define name="RADIO_CONTROL"/>
<define name="RADIO_CONTROL_TYPE_HOTT"/>
<define name="USE_$(HOTT_UART_UPPER)"/>
<define name="$(HOTT_UART_UPPER)_BAUD" value="B115200"/>
<define name="HOTT_UART_DEV" value="$(HOTT_UART_LOWER)"/>
<file name="radio_control.c" dir="subsystems"/>
<file name="hott.c" dir="subsystems/radio_control"/>
<file name="hott_common.c" dir="subsystems/radio_control"/>
</makefile>
</module>