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:
@@ -32,3 +32,15 @@
|
||||
############################################################################
|
||||
|
||||
add_subdirectory(bbblue_adc)
|
||||
|
||||
|
||||
############################################################################
|
||||
# Upload
|
||||
############################################################################
|
||||
|
||||
add_custom_target(upload
|
||||
COMMAND rsync -arh --progress ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/bbblue/*.config ${PX4_SOURCE_DIR}/ROMFS debian@BBBluePX4:/home/debian/px4
|
||||
DEPENDS px4
|
||||
COMMENT "uploading px4 and data files"
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user