tcl/target/gd32vf103: add flash bank
commit1c07229f8ca72e0f244e2289cefa28b65e21e774
authorTomas Vanek <vanekt@fbl.cz>
Wed, 17 Nov 2021 16:33:29 +0000 (17 17:33 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Sun, 24 Apr 2022 08:27:06 +0000 (24 08:27 +0000)
treea4b91e126835dc677c4175f1b028ddc6787006a3
parentf2b4897773a1c9db185dfb61d474055559fd507a
tcl/target/gd32vf103: add flash bank

The flash is compatible with stm32f1x, reuse the driver.

Extend the size of work area to RAM size of the smallest device.

Stop watchdogs before flash programming.

Change-Id: I67a7654a6e196f9d4b2409edaa7990c53334437e
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6711
Tested-by: jenkins
Reviewed-by: Tim Newsome <tim@sifive.com>
tcl/target/gd32vf103.cfg