tcl: add config file for hpmicro devices and boards
- add board and device config files - add interface config file for hpmicro evk boards Change-Id: I8afb0b734b1064d71c4af3c118c7777d0ead9e6b Signed-off-by: Ryan QIAN <jianghao.qian@hpmicro.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8697 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
13
tcl/target/hpmicro/hpm_reset.cfg
Normal file
13
tcl/target/hpmicro/hpm_reset.cfg
Normal file
@@ -0,0 +1,13 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright (c) 2025 HPMicro
|
||||
|
||||
# As debug access needs to be released by bootrom after reset,
|
||||
# and halt request set along with reset will be ignored, it needs
|
||||
# a short period of time for bootrom to release the access,
|
||||
# so we request halt again in reset-deassert-pre event.
|
||||
$_TARGET0 configure -event reset-deassert-pre {
|
||||
sleep 1
|
||||
if {$halt} {
|
||||
$::_TARGET0 arp_halt
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user