From 60f4634a7ad24a170a13e1b40e0bcdccd753450d Mon Sep 17 00:00:00 2001 From: Benjamin Vedder Date: Fri, 9 Jan 2015 17:24:03 +0100 Subject: [PATCH] Restored upload command --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2443719a..afc3f3f0 100644 --- a/Makefile +++ b/Makefile @@ -268,7 +268,8 @@ build/$(PROJECT).bin: build/$(PROJECT).elf # Program upload: build/$(PROJECT).bin #qstlink2 --cli --erase --write build/$(PROJECT).bin - openocd -f board/stm32f4discovery.cfg -c "program build/$(PROJECT).elf verify reset" -c "reset_config trst_only combined" + openocd -f interface/stlink-v2.cfg -c "set WORKAREASIZE 0x2000" -f target/stm32f4x_stlink.cfg -c "program build/$(PROJECT).elf verify reset" + #openocd -f board/stm32f4discovery.cfg -c "reset_config trst_only combined" -c "program build/$(PROJECT).elf verify reset" # For openocd 0.9 debug-start: openocd -f stm32-bv_openocd.cfg