mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-17 23:54:34 +08:00
32 lines
997 B
XML
32 lines
997 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="px4io_flash">
|
|
<doc>
|
|
<description>Flashes the px4io f1 through the px4 bootloader.</description>
|
|
</doc>
|
|
<header>
|
|
<file name="px4io_flash.h"/>
|
|
</header>
|
|
<init fun="px4ioflash_init()"/>
|
|
<event fun="px4ioflash_event()"/>
|
|
<makefile target="ap">
|
|
<raw>
|
|
|
|
</raw>
|
|
<file name="px4io_flash.c"/>
|
|
<configure name="PX4IO_UART" default="uart6" case="upper|lower"/>
|
|
<configure name="PX4IO_BAUD" default="B1500000"/>
|
|
<define name="USE_$(PX4IO_UART_UPPER)"/>
|
|
<define name="PX4IO_UART" value="$(PX4IO_UART_LOWER)"/>
|
|
<define name="$(PX4IO_UART_UPPER)_BAUD" value="$(PX4IO_BAUD)"/>
|
|
|
|
<configure name="TELEM2_UART" default="uart3" case="upper|lower"/>
|
|
<configure name="TELEM2_BAUD" default="B115200"/>
|
|
<define name="USE_$(TELEM2_UART_UPPER)"/>
|
|
<define name="TELEM2_UART" value="$(TELEM2_UART_LOWER)"/>
|
|
<define name="$(TELEM2_UART_UPPER)_BAUD" value="$(TELEM2_BAUD)"/>
|
|
|
|
</makefile>
|
|
</module>
|
|
|