target/espressif: add semihosting support
[fw/openocd] / tcl / board / lemaker_hikey.cfg
index d724440481f6ec8f4ae8ff4830e3640ff57dd7f7..fc044359c19491895e3f0ff7376559cc75d66cab 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # board configuration for LeMaker Hikey
 #
@@ -10,9 +12,6 @@ reset_config srst_only srst_push_pull
 
 source [find target/hi6220.cfg]
 
-# halt the cores when gdb attaches
-${_TARGETNAME}0 configure -event gdb-attach "halt"
-
 # make sure the default target is the boot core
 targets ${_TARGETNAME}0
 
@@ -20,7 +19,7 @@ proc core_up { args } {
        global _TARGETNAME
 
        # examine remaining cores
-       foreach _core [set args] {
+       foreach _core $args {
                ${_TARGETNAME}$_core arp_examine
        }
 }