Arduino Zero Board Upload (Error Fix)
using the programming port for arduino zero board, file open fails when arduino.mk call the openocd. this is due to double braces of the file path. we remove the double braces whole though a single brace also works well.
This commit is contained in:
parent
adf09c1164
commit
15668eb97a
1 changed files with 1 additions and 1 deletions
|
@ -1733,7 +1733,7 @@ do_upload:
|
||||||
|
|
||||||
do_sam_upload: $(TARGET_BIN) verify_size
|
do_sam_upload: $(TARGET_BIN) verify_size
|
||||||
ifeq ($(findstring openocd, $(strip $(UPLOAD_TOOL))), openocd)
|
ifeq ($(findstring openocd, $(strip $(UPLOAD_TOOL))), openocd)
|
||||||
$(OPENOCD) $(OPENOCD_OPTS) -c "telnet_port disabled; program {{$(TARGET_BIN)}} verify reset $(BOOTLOADER_SIZE); shutdown"
|
$(OPENOCD) $(OPENOCD_OPTS) -c "telnet_port disabled; program $(TARGET_BIN) verify reset $(BOOTLOADER_SIZE); shutdown"
|
||||||
else ifeq ($(findstring bossac, $(strip $(UPLOAD_TOOL))), bossac)
|
else ifeq ($(findstring bossac, $(strip $(UPLOAD_TOOL))), bossac)
|
||||||
$(BOSSA) $(BOSSA_OPTS) $(TARGET_BIN)
|
$(BOSSA) $(BOSSA_OPTS) $(TARGET_BIN)
|
||||||
else ifeq ($(findstring gdb, $(strip $(UPLOAD_TOOL))), gdb)
|
else ifeq ($(findstring gdb, $(strip $(UPLOAD_TOOL))), gdb)
|
||||||
|
|
Loading…
Reference in a new issue