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:
parent
c4400e8964
commit
0c253d819c
5
boards/common/gd32v/dist/openocd.cfg
vendored
5
boards/common/gd32v/dist/openocd.cfg
vendored
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user