mirror of https://github.com/rusefi/bldc.git
Restored upload command
This commit is contained in:
parent
e5b3a0755e
commit
60f4634a7a
3
Makefile
3
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
|
||||
|
|
Loading…
Reference in New Issue