]> git.sur5r.net Git - openocd/blob - tcl/board/lemaker_hikey.cfg
target/mem_ap: generic mem-ap target
[openocd] / tcl / board / lemaker_hikey.cfg
1 #
2 # board configuration for LeMaker Hikey
3 #
4
5 # board does not feature anything but JTAG
6 transport select jtag
7
8 # SRST-only reset configuration
9 reset_config srst_only srst_push_pull
10
11 source [find target/hi6220.cfg]
12
13 # halt the cores when gdb attaches
14 ${_TARGETNAME}0 configure -event gdb-attach "halt"
15
16 # make sure the default target is the boot core
17 targets ${_TARGETNAME}0
18
19 proc core_up { args } {
20         global _TARGETNAME
21
22         # examine remaining cores
23         foreach _core [set args] {
24                 ${_TARGETNAME}$_core arp_examine
25         }
26 }