Commit f2b48977 authored by Tomas Vanek's avatar Tomas Vanek
Browse files

flash/stm32f1x: add support for RISC-V GigaDevice GD32VF103



The device has compatible flash macro with STM32F1 family, reuse
stm32f1x driver code.

Detect non-ARM target - for simplicy test target type name 'riscv'
and the address has 32 bits.

In case of RISC-V CPU use simple chunked write algo - async algo
cannot be used as the core implemented in this device doesn't
allow memory access while running.

Change-Id: Ie3886fbd8573652691f91a02335812a7300689f7
Signed-off-by: default avatarTomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6704


Tested-by: jenkins
Reviewed-by: default avatarTim Newsome <tim@sifive.com>
parent a26ee534
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment