Skip to content

Commit 5f3bc3b

Browse files
committed
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 <[email protected]> Reported-by: Wes Cilldhaire <[email protected]> Fixes: c3166b4 ("tcl/target: Add QuickLogic EOS S3 MCU configuration") Reviewed-on: http://openocd.zylin.com/6079 Tested-by: jenkins Reviewed-by: TM <[email protected]>
1 parent 23d8831 commit 5f3bc3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcl/target/eos_s3.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if { [info exists CPUTAPID] } {
2626
}
2727
}
2828

29-
swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf -expected-id _CPUTAPID
29+
swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf -expected-id $_CPUTAPID
3030
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
3131

3232
set _TARGETNAME $_CHIPNAME.cpu

0 commit comments

Comments
 (0)