tcl/stm32wlx.cfg: comply with new jimtcl expr syntax
[fw/openocd] / tcl / target / omap4460.cfg
index 218eb64e924194b35dc81988b19329b8b20ea982..fb76e136b8a528587eda2e3f5342eba4a54c8b70 100644 (file)
@@ -91,7 +91,7 @@ set _TARGETNAME $_CHIPNAME.cpu
 # 0x80000000 | (coreid << CORTEX_A8_PADDRDBG_CPU_SHIFT)
 
 set _coreid 0
-set _dbgbase [expr 0x80000000 | ($_coreid << 13)]
+set _dbgbase [expr {0x80000000 | ($_coreid << 13)}]
 echo "Using dbgbase = [format 0x%x $_dbgbase]"
 
 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu