Skip to content

Commit

Permalink
tcl/target/eos_s3: fix variable's expansion typo
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
borneoa committed Mar 4, 2021
1 parent 23d8831 commit 5f3bc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcl/target/eos_s3.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f3bc3b

Please sign in to comment.