mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
cmake move custom upload helpers to boards/
This commit is contained in:
@@ -34,3 +34,15 @@
|
||||
add_subdirectory(navio_adc)
|
||||
add_subdirectory(navio_rgbled)
|
||||
add_subdirectory(navio_sysfs_rc_in)
|
||||
|
||||
|
||||
############################################################################
|
||||
# Upload
|
||||
############################################################################
|
||||
|
||||
add_custom_target(upload
|
||||
COMMAND rsync -arh --progress ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/rpi/*.config ${PX4_SOURCE_DIR}/ROMFS pi@"$ENV{AUTOPILOT_HOST}":/home/pi
|
||||
DEPENDS px4
|
||||
COMMENT "uploading px4"
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user