From 5f3bc3b279c648f5c751fcd4724206c6ce3e38c6 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Wed, 3 Mar 2021 21:57:33 +0100 Subject: [PATCH] tcl/target/eos_s3: fix variable's expansion typo TCL expands the variables only if preceded by a dollar sign. Add the missing dollar before the variable's name '_CPUTAPID'. Change-Id: Icc5d0dddf24f75d12ee63fee69e1b265e842ca43 Signed-off-by: Antonio Borneo Reported-by: Wes Cilldhaire Fixes: c3166b43e415 ("tcl/target: Add QuickLogic EOS S3 MCU configuration") Reviewed-on: http://openocd.zylin.com/6079 Tested-by: jenkins Reviewed-by: TM --- tcl/target/eos_s3.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcl/target/eos_s3.cfg b/tcl/target/eos_s3.cfg index f6016fb30f..150ef4e31c 100644 --- a/tcl/target/eos_s3.cfg +++ b/tcl/target/eos_s3.cfg @@ -26,7 +26,7 @@ if { [info exists CPUTAPID] } { } } -swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf -expected-id _CPUTAPID +swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf -expected-id $_CPUTAPID dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu -- 2.30.2