The sourcing of the common.cfg and the optional local files was failing when invoked from a test directory. Use -s and properly use [find ...] to search paths nicely.
13 lines
400 B
INI
13 lines
400 B
INI
source [find interface/stlink-v2.cfg]
|
|
set WORKAREASIZE 0x4000
|
|
source [find target/stm32f4x.cfg]
|
|
|
|
source [find openocd.common.cfg]
|
|
optional_local "openocd.stm32f4-disco.local.cfg"
|
|
|
|
tpiu config internal swodump.stm32f4disco.log uart off 168000000
|
|
|
|
# Uncomment to reset on connect, for grabbing under WFI et al
|
|
#reset_config srst_only srst_nogate
|
|
reset_config srst_only srst_nogate connect_assert_srst
|
|
|