Files
zephyr/boards/v2/gd/gd32f470i_eval/support/openocd.cfg
Gerard Marull-Paretas 6e621ee43f boards: gd32f470i_eval: convert to HWMv2
Convert the board to HWMv2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-01 14:17:07 +00:00

26 lines
568 B
INI

# Copyright (c) 2021, ATL-Electronics
# Copyright (c) 2021, Teslabs Engineering S.L.
# Copyright (c) 2022, Rtone.
# SPDX-License-Identifier: Apache-2.0
source [find interface/cmsis-dap.cfg]
transport select swd
set CHIPNAME gd32f470ik
set CPUTAPID 0x790007a3
source [find target/stm32f4x.cfg]
reset_config trst_and_srst separate
$_TARGETNAME configure -event gdb-attach {
echo "Debugger attaching: halting execution"
reset halt
gdb_breakpoint_override hard
}
$_TARGETNAME configure -event gdb-detach {
echo "Debugger detaching: resuming execution"
resume
}