Browse Source
`make pxf upload` builds ELF and copy it to target device using scp. Target hostname should be specified in BOARD_LINUX_HOST variablemaster
Eugene Agafonov
10 years ago
committed by
Andrew Tridgell
2 changed files with 12 additions and 0 deletions
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
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 |
Loading…
Reference in new issue