crashtest-r0ket/tools/smartflash/flash

4 lines
86 B
Bash
Executable File

#!/bin/sh
dd if=firmware.bin seek=4 of=/dev/$1 2>/dev/null
echo "FLASH done: $1 @ $2"