1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/nucleo-f334/dist/flash.sh
2015-01-27 23:14:10 +01:00

14 lines
230 B
Bash
Executable File

#!/bin/bash
echo "##"
echo "## Flashing $1"
echo "##"
openocd -f board/st_nucleo_f334r8.cfg \
-c "init" \
-c "targets" \
-c "reset halt" \
-c "program $1 0x8000000 verify" \
-c "reset run"\
-c "shutdown"