X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Ftocoding_poplar.cfg;h=5f9dba43b01f48a15a69a411a554a939a494352b;hb=4157732bd84c4e9e4b55357e1dc9a96078a35ee1;hp=fd6615605d7e117bc05df3b3defdcef0d298d9ca;hpb=0e02fe40c64ad7488aeb351641723e1eb9ae49cb;p=fw%2Fopenocd diff --git a/tcl/board/tocoding_poplar.cfg b/tcl/board/tocoding_poplar.cfg index fd6615605..5f9dba43b 100644 --- a/tcl/board/tocoding_poplar.cfg +++ b/tcl/board/tocoding_poplar.cfg @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # # board configuration for Tocoding Poplar # @@ -5,15 +7,12 @@ # board does not feature anything but JTAG transport select jtag -adapter_khz 10000 +adapter speed 10000 # SRST-only reset configuration reset_config srst_only srst_push_pull -source [find tcl/target/hi3798.cfg] - -# halt the cores when gdb attaches -${_TARGETNAME}0 configure -event gdb-attach "halt" +source [find target/hi3798.cfg] # make sure the default target is the boot core targets ${_TARGETNAME}0 @@ -22,7 +21,7 @@ proc core_up { args } { global _TARGETNAME # examine remaining cores - foreach _core [set args] { + foreach _core $args { ${_TARGETNAME}$_core arp_examine } }