1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/iot-lab_M3/dist/flash.sh

13 lines
286 B
Bash
Raw Normal View History

2014-06-11 14:59:24 +02:00
#!/bin/bash
2014-08-25 13:45:22 +02:00
openocd -f "${RIOTBOARD}/${BOARD}/dist/${BOARD}_jtag.cfg" \
-f "target/stm32f1x.cfg" \
-c "init" \
-c "targets" \
-c "reset halt" \
-c "reset init" \
-c "flash write_image erase $1" \
-c "verify_image $1" \
-c "reset run"\
-c "shutdown"