add ChibiOS support
[mTask.git] / int / flash
1 #!/bin/sh
2 openocd \
3 -f interface/stlink-v2-1.cfg\
4 -c "transport select hla_swd"\
5 -f target/stm32f7x.cfg \
6 -c init\
7 -c "reset halt"\
8 -c "flash write_image erase "build/mTask.bin" 0x08000000"\
9 -c "reset run"\
10 -c shutdown