mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 05:42:49 +08:00
Refactored px4io_flash module to px4_flash, because it is now also used to flash the f4
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
<target name="test_datalink" board="px4fmu_2.4" />
|
||||
</firmware>
|
||||
<modules main_freq="512">
|
||||
<load name="px4io_flash.xml" />
|
||||
<load name="px4_flash.xml" />
|
||||
<load name="geo_mag.xml" />
|
||||
<load name="air_data.xml" />
|
||||
<load name="send_imu_mag_current.xml" />
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<target name="test_datalink" board="px4fmu_2.4" />
|
||||
</firmware>
|
||||
<modules main_freq="512">
|
||||
<load name="px4io_flash.xml" />
|
||||
<load name="px4_flash.xml" />
|
||||
<load name="geo_mag.xml" />
|
||||
<load name="air_data.xml" />
|
||||
<load name="send_imu_mag_current.xml" />
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<!DOCTYPE module SYSTEM "module.dtd">
|
||||
|
||||
<module name="px4io_flash">
|
||||
<module name="px4_flash">
|
||||
<doc>
|
||||
<description>Flashes the px4io f1 through the px4 bootloader.</description>
|
||||
<description>Flashes the px4 f1 through the px4 bootloader, or resets the f4 to be flashed directly by the f4' PX4 bootloader.</description>
|
||||
</doc>
|
||||
<header>
|
||||
<file name="px4io_flash.h"/>
|
||||
<file name="px4_flash.h"/>
|
||||
</header>
|
||||
<init fun="px4ioflash_init()"/>
|
||||
<event fun="px4ioflash_event()"/>
|
||||
<init fun="px4flash_init()"/>
|
||||
<event fun="px4flash_event()"/>
|
||||
<makefile target="ap">
|
||||
<raw>
|
||||
|
||||
</raw>
|
||||
<file name="px4io_flash.c"/>
|
||||
<file name="px4_flash.c"/>
|
||||
<file name="usb_ser_hw.c" dir="arch/stm32"/>
|
||||
<configure name="PX4IO_UART" default="uart6" case="upper|lower"/>
|
||||
<configure name="PX4IO_BAUD" default="B1500000"/>
|
||||
Reference in New Issue
Block a user