|
|
|
@ -46,7 +46,7 @@ endif()
@@ -46,7 +46,7 @@ endif()
|
|
|
|
|
add_custom_target(upload |
|
|
|
|
COMMAND rsync -arh --progress |
|
|
|
|
${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/rpi/pilotpi*.config ${PX4_BINARY_DIR}/etc # source |
|
|
|
|
\$\{AUTOPILOT_USER\}@\$\{AUTOPILOT_HOST\}:/home/\$\{AUTOPILOT_USER\}/px4 # destination |
|
|
|
|
"${AUTOPILOT_USER}@${AUTOPILOT_HOST}:/home/${AUTOPILOT_USER}/px4" # destination |
|
|
|
|
DEPENDS px4 |
|
|
|
|
COMMENT "uploading px4" |
|
|
|
|
USES_TERMINAL |
|
|
|
|