openocd: use find instead of hardcoded paths

This commit is contained in:
Sebastien Bourdeauducq 2018-03-19 20:31:41 +08:00
parent cbdd2c409c
commit e1d7924969

View File

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