Skip to content
Snippets Groups Projects
Commit d630eadc authored by Kévin Roussel's avatar Kévin Roussel
Browse files

Merge pull request #1380 from rousselk/arduino-due-minor-fixes

Reset ARM Cortex-M3 MCUs before flashing
parents 1ad0d009 904f313a
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ export LINKFLAGS += -g3 -ggdb -std=gnu99 $(CPU_USAGE) $(FPU_USAGE) -mlittle-endi ...@@ -35,7 +35,7 @@ export LINKFLAGS += -g3 -ggdb -std=gnu99 $(CPU_USAGE) $(FPU_USAGE) -mlittle-endi
# linkerscript specified in cpu/Makefile.include # linkerscript specified in cpu/Makefile.include
export LINKFLAGS += -T$(LINKERSCRIPT) export LINKFLAGS += -T$(LINKERSCRIPT)
export OFLAGS += -O binary 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 # 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) 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 ...@@ -35,7 +35,7 @@ export LINKFLAGS += -g3 -ggdb -std=gnu99 $(CPU_USAGE) $(FPU_USAGE) -mlittle-endi
# linkerscript specified in cpu/Makefile.include # linkerscript specified in cpu/Makefile.include
export LINKFLAGS += -T$(LINKERSCRIPT) export LINKFLAGS += -T$(LINKERSCRIPT)
export OFLAGS += -O binary 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 # 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) ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null </dev/null ; echo $$?),0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment