posix: enable ROMFSROOT

This will copy the ROMFS into the build directory under etc/, and thus
needs a change of the PX4 startup parameters and mixer paths.
This commit is contained in:
Beat Küng
2020-09-10 13:33:29 +02:00
parent d3362f38d1
commit 055fa768d8
28 changed files with 33 additions and 24 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ endif()
add_custom_target(upload
COMMAND rsync -arh --progress
${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/rpi/*.config ${PX4_SOURCE_DIR}/ROMFS # source
${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/rpi/*.config ${PX4_BINARY_DIR}/etc # source
pi@${AUTOPILOT_HOST}:/home/pi/px4 # destination
DEPENDS px4
COMMENT "uploading px4"