Closed GregAC closed 7 months ago
There's already a way to specify the config file, which I added after Sonata:
./util/load_demo_system.sh run ./sw/c/build/demo/hello_world/demo ./util/sonata-openocd-cfg.tcl
There's already a way to specify the config file, which I added after Sonata:
./util/load_demo_system.sh run ./sw/c/build/demo/hello_world/demo ./util/sonata-openocd-cfg.tcl
Ah great, this had passed me by.
We'll still want a better setup with the TCL files so we can have some board/probe specific files and a more general system file but what we have now with separate files repeating themselves will do the job for now.
We need to work out a better way to organise OpenOCD configs and stop hard-coding the config file in the
load_demo_system.sh
script. However not a priority for now so just chucking all of this in a separate new config file.This works with the Olimex ARM-USB-TINY-H against the Sonata v0.5 board.