add openocd script

main
Clyne 2 weeks ago
parent ed84840b0f
commit bf74c7079c
Signed by: clyne
GPG Key ID: 3267C8EBF3F9AFC7

@ -0,0 +1,5 @@
#!/bin/bash
objcopy -Oihex zig-out/bin/stm32 zig-out/bin/stm32.hex
openocd -f interface/stlink.cfg -f target/stm32l4x.cfg -c "program zig-out/bin/stm32.hex verify reset exit"
Loading…
Cancel
Save