mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
14 lines
200 B
Bash
Executable File
14 lines
200 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# flash the specified binary via gdb
|
|
# usage: ./scripts/gdb-flash.sh (<mybinary>.elf)
|
|
|
|
ELF=artoo.elf
|
|
|
|
if [ "$#" -eq "1" ]
|
|
then
|
|
ELF=$1
|
|
fi
|
|
|
|
arm-none-eabi-gdb ${ELF} -q -ex load -ex quit
|