Merge pull request #1380 from rousselk/arduino-due-minor-fixes
Reset ARM Cortex-M3 MCUs before flashing
This commit is contained in:
commit
d630eadca0
@ -35,7 +35,7 @@ export LINKFLAGS += -g3 -ggdb -std=gnu99 $(CPU_USAGE) $(FPU_USAGE) -mlittle-endi
|
||||
# linkerscript specified in cpu/Makefile.include
|
||||
export LINKFLAGS += -T$(LINKERSCRIPT)
|
||||
export OFLAGS += -O binary
|
||||
export FFLAGS += -e -w -v -b bin/$(BOARD)/$(APPLICATION).hex
|
||||
export FFLAGS += -R -e -w -v -b bin/$(BOARD)/$(APPLICATION).hex
|
||||
|
||||
# use the nano-specs of the NewLib when available
|
||||
ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null </dev/null ; echo $$?),0)
|
||||
|
||||
@ -35,7 +35,7 @@ export LINKFLAGS += -g3 -ggdb -std=gnu99 $(CPU_USAGE) $(FPU_USAGE) -mlittle-endi
|
||||
# linkerscript specified in cpu/Makefile.include
|
||||
export LINKFLAGS += -T$(LINKERSCRIPT)
|
||||
export OFLAGS += -O binary
|
||||
export FFLAGS += -e -w -v -b bin/$(BOARD)/$(APPLICATION).hex
|
||||
export FFLAGS += -R -e -w -v -b bin/$(BOARD)/$(APPLICATION).hex
|
||||
|
||||
# use the nano-specs of the NewLib when available
|
||||
ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null </dev/null ; echo $$?),0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user