Reset the SAM3X8E before flashing

so as to avoid some hangups in the flashing process
This commit is contained in:
Kévin Roussel 2014-07-03 17:24:07 +02:00
parent 5b70271b3f
commit fcd0a8027a

View File

@ -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)