1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 09:33:50 +01:00

14 lines
244 B
Bash
Executable File

#!/bin/bash
echo "##"
echo "## Flashing $1"
echo "##"
openocd -f "${RIOTBOARD}/${BOARD}/dist/openocd.cfg" \
-c "init" \
-c "targets" \
-c "reset halt" \
-c "program $1 0x8000000 verify" \
-c "reset run"\
-c "shutdown"