962697823e
When OpenOCD is installed to the host the 'tcl' folder gets usually installed in /usr/share/openocd/, thus having 'tcl' as prefix of the target's file causes 'find' to fail. Remove the 'tcl' folder prefix. Change-Id: I3dc484c8de6af8f5aae4dd1b230522ee47ae2ba6 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5887 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
26 lines
451 B
INI
26 lines
451 B
INI
#
|
|
# board configuration for Tocoding Poplar
|
|
#
|
|
|
|
# board does not feature anything but JTAG
|
|
transport select jtag
|
|
|
|
adapter speed 10000
|
|
|
|
# SRST-only reset configuration
|
|
reset_config srst_only srst_push_pull
|
|
|
|
source [find target/hi3798.cfg]
|
|
|
|
# make sure the default target is the boot core
|
|
targets ${_TARGETNAME}0
|
|
|
|
proc core_up { args } {
|
|
global _TARGETNAME
|
|
|
|
# examine remaining cores
|
|
foreach _core [set args] {
|
|
${_TARGETNAME}$_core arp_examine
|
|
}
|
|
}
|