1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/common/gd32v: improve openocd config

This commit is contained in:
Gunar Schorcht 2023-03-19 18:03:21 +01:00
parent c4400e8964
commit 0c253d819c

View File

@ -19,9 +19,12 @@ $_TARGETNAME configure -event reset-assert {
# after the write happens, which fails when the core is in reset.
riscv set_mem_access abstract
# Go!
# Reset the Hart
$_TARGETNAME mww 0xe0042008 0x1
# Put the memory access mode back to what it was.
riscv set_mem_access progbuf
# Continue execution
resume
}