cmake move custom upload helpers to boards/

This commit is contained in:
Daniel Agar
2018-12-04 11:13:56 -05:00
parent e69049ec41
commit dbee6380ee
11 changed files with 229 additions and 160 deletions

View File

@@ -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
)