Restored upload command

This commit is contained in:
Benjamin Vedder 2015-01-09 17:24:03 +01:00
parent e5b3a0755e
commit 60f4634a7a
1 changed files with 2 additions and 1 deletions

View File

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