mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
build: Replace 'make download' with 'make flash'
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
a7d8d9dd98
commit
e0389ce1fb
@@ -71,7 +71,7 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_DFU_BINARY),y)
|
||||
|
||||
define DOWNLOAD
|
||||
define FLASH
|
||||
$(Q) echo "DFUSUFFIX: $(1).dfu"
|
||||
$(Q) $(OBJCOPY) $(OBJCOPYARGS) -O binary $(1) $(1).dfu
|
||||
$(Q) $(DFUSUFFIX) -v $(subst 0x,,$(CONFIG_DFU_VID)) -p $(subst 0x,,$(CONFIG_DFU_PID)) -a $(1).dfu
|
||||
@@ -80,7 +80,7 @@ endef
|
||||
|
||||
else
|
||||
|
||||
define DOWNLOAD
|
||||
define FLASH
|
||||
$(Q) $(ECHO) "Photon firmware upload through JTAG is not supported"
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user