tcl: add Hi6220 target and LeMaker HiKey board config
[openocd.git] / tcl / board / lemaker_hikey.cfg
blobd724440481f6ec8f4ae8ff4830e3640ff57dd7f7
2 # board configuration for LeMaker Hikey
5 # board does not feature anything but JTAG
6 transport select jtag
8 # SRST-only reset configuration
9 reset_config srst_only srst_push_pull
11 source [find target/hi6220.cfg]
13 # halt the cores when gdb attaches
14 ${_TARGETNAME}0 configure -event gdb-attach "halt"
16 # make sure the default target is the boot core
17 targets ${_TARGETNAME}0
19 proc core_up { args } {
20         global _TARGETNAME
22         # examine remaining cores
23         foreach _core [set args] {
24                 ${_TARGETNAME}$_core arp_examine
25         }