mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
dd22b19ddd
`make pxf upload` builds ELF and copy it to target device using scp. Target hostname should be specified in BOARD_LINUX_HOST variable
12 lines
271 B
Makefile
12 lines
271 B
Makefile
ifneq ($(BOARD_LINUX_HOST),)
|
|
upload: $(SKETCHELF).timestamp-upload
|
|
|
|
$(SKETCHELF).timestamp-upload: $(SKETCHELF)
|
|
scp $(SKETCHELF) $(BOARD_LINUX_HOST):
|
|
touch $@
|
|
else
|
|
upload:
|
|
@echo Check your config.mk: BOARD_LINUX_HOST should be defined to upload firmware
|
|
exit 1
|
|
endif
|