do not use GDB for loading firmware

GDB adds unnecessary steps and it is buggy.
This commit is contained in:
Sebastien Bourdeauducq 2017-09-25 19:14:19 +08:00
parent 7b10386907
commit 416ac30496
3 changed files with 5 additions and 7 deletions

View File

@ -80,9 +80,8 @@ Building and loading the firmware
```sh
cd firmware
openocd -f support/openocd.cfg
xargo build --release
arm-none-eabi-gdb -x support/load.gdb target/thumbv7em-none-eabihf/release/ionpak-firmware
openocd -f openocd.cfg
```
License

View File

@ -1,3 +1,7 @@
source /usr/share/openocd/scripts/interface/ftdi/olimex-arm-usb-tiny-h.cfg
set CHIPNAME tm4c1294kcpd
source /usr/share/openocd/scripts/target/stellaris.cfg
program target/thumbv7em-none-eabihf/release/ionpak-firmware verify
reset
exit

View File

@ -1,5 +0,0 @@
target remote :3333
monitor arm semihosting enable
load
monitor reset halt
continue