From: <ge...@op...> - 2020-11-05 13:27:52
|
This is an automated email from Gerrit. Marc Schink (de...@za...) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5924 -- gerrit commit b391837f6d838ae55ec179a8c0b5dedbcde993c5 Author: Marc Schink <de...@za...> Date: Thu Nov 5 14:21:39 2020 +0100 tcl/target: Add flash bank to GD32VF103 Change-Id: Id7a166cc6cc18c91edb5636372d7889562ee0c3b Signed-off-by: Marc Schink <de...@za...> diff --git a/tcl/target/gd32vf103.cfg b/tcl/target/gd32vf103.cfg index 0f4dcf3..0a43f00 100644 --- a/tcl/target/gd32vf103.cfg +++ b/tcl/target/gd32vf103.cfg @@ -24,3 +24,6 @@ set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME riscv -chain-position $_TARGETNAME $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0 + +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME gd32vf103 0x08000000 0 0 0 $_TARGETNAME -- |