|
|
|
@ -49,6 +49,6 @@ flash: $(BUILD)/tbm.bin |
|
|
|
|
stm32flash -g 0x8000000 -w $< $(STM32_PORT)
|
|
|
|
|
|
|
|
|
|
openocd: |
|
|
|
|
openocd -f /usr/share/openocd/scripts/interface/jlink.cfg -c 'transport select swd' -f /usr/share/openocd/scripts/target/stm32f1x.cfg -c 'gdb_port 4242'
|
|
|
|
|
openocd -f /usr/share/openocd/scripts/interface/jlink.cfg -c 'transport select swd' -f /usr/share/openocd/scripts/target/stm32f1x.cfg -c 'gdb_port 4242' -c 'telnet_port 4444'
|
|
|
|
|
|
|
|
|
|
.PHONY: run |
|
|
|
|