flash/nor/stm32f1x: Add support for GD32E23x
authorasier70 <asier70@gmail.com>
Wed, 1 Sep 2021 20:00:51 +0000 (22:00 +0200)
committerTomas Vanek <vanekt@fbl.cz>
Mon, 15 Nov 2021 15:35:50 +0000 (15:35 +0000)
commit5a0b4889d0d46639b38effd24102f0d5fca1ca31
treebbe74975b248e77b139fbcac3fceb02dce8b5b2e
parenta498a3deaaec7ee87d73cf753bdddefaf4779666
flash/nor/stm32f1x: Add support for GD32E23x

GD32E23x from GigaDevice is cortex-M23 microcontroller and it can work with the stm32f1x driver.
Modifications are similar to this done for GD32F1x0 in #6164 (https://review.openocd.org/c/openocd/+/6164).
Configuration file is added because its cortex-M23 CPU ID is different.
I think that GigaDevice microcontrollers should be handled in an independent unit to separate them from STM32,
but nowadays quick solution is welcome.

Signed-off-by: asier70Andrzej Sierżęga <asier70@gmail.com>
Change-Id: I91f31f5f66808bc50a8f607ac2c107e6b7c5e2b8
Reviewed-on: https://review.openocd.org/c/openocd/+/6527
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
doc/openocd.texi
src/flash/nor/stm32f1x.c
src/flash/startup.tcl
tcl/target/gd32e23x.cfg [new file with mode: 0644]