openocd/tcl/board/lemaker_hikey.cfg
Antonio Borneo 9a6417e035 tcl: don't use 'set' to retrieve the value of a variable
Original TLC syntax uses 'set varname' to retrieve the value of
variable 'varname'. Such archaic syntax is still valid, but the
shorter '$varname' makes the code easier to read.

Replace 'set varname' with '$varname'.
While there, remove some useless curly brackets.

Change-Id: I27310e8c05afe56ea8bd0e41d4ae2c34447b725c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6863
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2022-03-12 09:43:00 +00:00

24 lines
423 B
INI

#
# board configuration for LeMaker Hikey
#
# board does not feature anything but JTAG
transport select jtag
# SRST-only reset configuration
reset_config srst_only srst_push_pull
source [find target/hi6220.cfg]
# make sure the default target is the boot core
targets ${_TARGETNAME}0
proc core_up { args } {
global _TARGETNAME
# examine remaining cores
foreach _core $args {
${_TARGETNAME}$_core arp_examine
}
}