From 8366c945925a223dfb38786d4336394e5efc7114 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 26 Oct 2017 22:10:03 +0000 Subject: common openocd: use -s to find files from test dirs. 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. --- openocd/openocd.stm32f072disco.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openocd/openocd.stm32f072disco.cfg') diff --git a/openocd/openocd.stm32f072disco.cfg b/openocd/openocd.stm32f072disco.cfg index b7cc25b..f43f168 100644 --- a/openocd/openocd.stm32f072disco.cfg +++ b/openocd/openocd.stm32f072disco.cfg @@ -2,7 +2,7 @@ source [find interface/stlink-v2.cfg] set WORKAREASIZE 0x4000 source [find target/stm32f0x.cfg] -source openocd.common.cfg +source [find openocd.common.cfg] optional_local "openocd.stm32f072disco.local.cfg" # no trace on cm0 -- cgit