mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
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:
@@ -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"
|
||||
|
||||
@@ -8,6 +8,7 @@ px4_add_board(
|
||||
LABEL default
|
||||
PLATFORM posix
|
||||
ARCHITECTURE cortex-a53
|
||||
ROMFSROOT px4fmu_common
|
||||
TOOLCHAIN arm-linux-gnueabihf
|
||||
TESTING
|
||||
DRIVERS
|
||||
|
||||
@@ -3,6 +3,7 @@ px4_add_board(
|
||||
PLATFORM posix
|
||||
VENDOR px4
|
||||
MODEL sitl
|
||||
ROMFSROOT px4fmu_common
|
||||
LABEL default
|
||||
TESTING
|
||||
DRIVERS
|
||||
|
||||
@@ -3,6 +3,7 @@ px4_add_board(
|
||||
PLATFORM posix
|
||||
VENDOR px4
|
||||
MODEL sitl
|
||||
ROMFSROOT px4fmu_common
|
||||
LABEL nolockstep
|
||||
TESTING
|
||||
DRIVERS
|
||||
|
||||
@@ -3,6 +3,7 @@ px4_add_board(
|
||||
PLATFORM posix
|
||||
VENDOR px4
|
||||
MODEL sitl
|
||||
ROMFSROOT px4fmu_common
|
||||
LABEL replay
|
||||
MODULES
|
||||
ekf2
|
||||
|
||||
@@ -3,6 +3,7 @@ px4_add_board(
|
||||
PLATFORM posix
|
||||
VENDOR px4
|
||||
MODEL sitl
|
||||
ROMFSROOT px4fmu_common
|
||||
LABEL rtps
|
||||
TESTING
|
||||
DRIVERS
|
||||
|
||||
@@ -3,6 +3,7 @@ px4_add_board(
|
||||
PLATFORM posix
|
||||
VENDOR px4
|
||||
MODEL sitl
|
||||
ROMFSROOT px4fmu_common
|
||||
LABEL test
|
||||
TESTING
|
||||
DRIVERS
|
||||
|
||||
Reference in New Issue
Block a user