Files
zephyr/boards/v2/gd/gd32e103v_eval/support/openocd.cfg
Gerard Marull-Paretas a6d8b92e86 boards: gd32e103v_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

27 lines
545 B
INI

# Copyright (c) 2021, ATL-Electronics
# SPDX-License-Identifier: Apache-2.0
source [find interface/cmsis-dap.cfg]
transport select swd
# chip name
set CHIPNAME gd32e103vb
set ENDIAN little
set CPUTAPID 0x2ba01477
set FLASH_SIZE 0x20000
source [find target/stm32f1x.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
}