With the current setting stm32f2x the following error occurs when running pio run -v --target upload:
Info : device id = 0x15080418
Warn : Cannot identify target as a STM32 family.
Even though the CPUTAPID=0 override ignores the CPU ID mismatch, openocd seems to be unable to identify the correct flashing algorithm. But when stm32f1x is specified, it works both with and without the CPUTAPID override.
GD32F205 seems to need
openocd_target = stm32f1x
instead ofopenocd_target = stm32f2x
here: https://github.com/CommunityGD32Cores/platform-gd32/blob/main/boards/genericGD32F205VC.jsonWith the current setting
stm32f2x
the following error occurs when runningpio run -v --target upload
:Even though the
CPUTAPID=0
override ignores the CPU ID mismatch, openocd seems to be unable to identify the correct flashing algorithm. But whenstm32f1x
is specified, it works both with and without theCPUTAPID
override.