mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 13:53:34 +08:00
RPi: improve upload script, upload mixer files & all startup scripts
This commit is contained in:
@@ -53,11 +53,13 @@ elseif ("${BOARD}" STREQUAL "rpi")
|
||||
-Wl,--end-group
|
||||
)
|
||||
|
||||
file(GLOB RPI_CONFIG_FILES ${PX4_SOURCE_DIR}/posix-configs/rpi/*.config)
|
||||
px4_add_scp_push(OUT upload
|
||||
OS ${OS}
|
||||
BOARD ${BOARD}
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/px4
|
||||
${PX4_SOURCE_DIR}/posix-configs/rpi/px4.config
|
||||
${RPI_CONFIG_FILES}
|
||||
${PX4_SOURCE_DIR}/ROMFS
|
||||
DEPENDS px4
|
||||
DEST /home/pi)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user