1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/samr21-xpro/dist/flash.sh
2014-09-25 14:37:47 +02:00

12 lines
247 B
Bash
Executable File

#!/bin/bash
openocd -f "board/atmel_samr21_xplained_pro.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"