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