GigaDevice-Semiconductor / openocd

A fork of the OpenOCD project, used to build the xPack OpenOCD
GNU General Public License v2.0
12 stars 2 forks source link

Support all other GD32 ARM chips #5

Open maxgerhardt opened 3 years ago

maxgerhardt commented 3 years ago

This repo adds support for the GD32 series

however, there is no dedicdated support for all the other GD32 ARM chip series

For some of these series, it works to specify a STM32 configuration file, by playing around & guessing (here). When using that approach, one still gets a few warnings though (e.g., flash size autodetected in a wrong way).

However, some of these series have no STM32 equivalent here, e.g. the E50x series (Cortex-M33). STM has the L5 series (here) that is Cortex-M33 based, but OpenOCD doesn't have a stm32l5x target.

We'd appreciate if there were clear OpenOCD configuration files for each GD32 ARM series chips, as that helps us develop open-source support for developing for GD32 series chips with PlatformIO and OpenOCD (https://github.com/CommunityGD32Cores/platform-gd32).

maxgerhardt commented 2 years ago

Support for GD32WLxx would also be greately appreciated.