target/espressif: add semihosting support
[fw/openocd] / tcl / board / nxp_imx7sabre.cfg
index c595e3a679bd3494ae9129fa21877a04330d4f2c..9b0c743affc4e18fe61694f6f0c20abed4da07bb 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # NXP IMX7SABRE board
 # use on-board JTAG header
 transport select jtag
@@ -27,7 +29,7 @@ proc imx7_uart_dbgconf { } {
 }
 
 proc check_bits_set_32 { addr mask } {
-    while { [expr [mrw $addr] & $mask == 0] } { }
+    while { [expr {[mrw $addr] & $mask} == 0] } { }
 }
 
 proc apply_dcd { } {