forked from M-Labs/ionpak-thermostat
do not use GDB for loading firmware
GDB adds unnecessary steps and it is buggy.
This commit is contained in:
parent
7b10386907
commit
416ac30496
|
@ -80,9 +80,8 @@ Building and loading the firmware
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd firmware
|
cd firmware
|
||||||
openocd -f support/openocd.cfg
|
|
||||||
xargo build --release
|
xargo build --release
|
||||||
arm-none-eabi-gdb -x support/load.gdb target/thumbv7em-none-eabihf/release/ionpak-firmware
|
openocd -f openocd.cfg
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
source /usr/share/openocd/scripts/interface/ftdi/olimex-arm-usb-tiny-h.cfg
|
source /usr/share/openocd/scripts/interface/ftdi/olimex-arm-usb-tiny-h.cfg
|
||||||
set CHIPNAME tm4c1294kcpd
|
set CHIPNAME tm4c1294kcpd
|
||||||
source /usr/share/openocd/scripts/target/stellaris.cfg
|
source /usr/share/openocd/scripts/target/stellaris.cfg
|
||||||
|
|
||||||
|
program target/thumbv7em-none-eabihf/release/ionpak-firmware verify
|
||||||
|
reset
|
||||||
|
exit
|
|
@ -1,5 +0,0 @@
|
||||||
target remote :3333
|
|
||||||
monitor arm semihosting enable
|
|
||||||
load
|
|
||||||
monitor reset halt
|
|
||||||
continue
|
|
Loading…
Reference in New Issue