This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/6079

-- gerrit

commit d52960247aaacb2864cd0f4a4c9122d1f2531c9e
Author: Antonio Borneo <[email protected]>
Date:   Wed Mar 3 21:57:33 2021 +0100

    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: c3166b43e415 ("tcl/target: Add QuickLogic EOS S3 MCU configuration")

diff --git a/tcl/target/eos_s3.cfg b/tcl/target/eos_s3.cfg
index f6016fb..3facd4d 100644
--- a/tcl/target/eos_s3.cfg
+++ b/tcl/target/eos_s3.cfg
@@ -22,11 +22,12 @@ if { [info exists CPUTAPID] } {
    if { [using_jtag] } {
       set _CPUTAPID 0x4ba00477
    } {
+B
       set _CPUTAPID 0x2ba01477
    }
 }
 
-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

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to