RPi: improve upload script, upload mixer files & all startup scripts

This commit is contained in:
Beat Küng
2016-11-24 14:43:45 +01:00
parent 6680af0d96
commit 0a0f268407
2 changed files with 17 additions and 14 deletions
+3 -1
View File
@@ -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)