Maximilian Gerhardt
Maximilian Gerhardt
This should already be the default configuration for `Serial1` as set by https://github.com/CommunityGD32Cores/ArduinoCore-GD32/blob/41f3c2b3524a51e698ef03186a4243bb89e8ad88/variants/GD32F130C6_GENERIC/variant.h#L130-L137 And the pin mapping looks good too https://github.com/CommunityGD32Cores/ArduinoCore-GD32/blob/41f3c2b3524a51e698ef03186a4243bb89e8ad88/variants/GD32F130C6_GENERIC/PeripheralPins.c#L180-L198 When you go back to your original code and...
I checked the code again and the macros are named very confusingly indeed.  So you actually need to use `Serial2` for TX=PA2, RX=PA3 (board's perspective), using USART1. ```cpp #include...
Yes, only the Arduino header pins of that board are exposed, but not the full F303ZE pins. F30x boards have yet to be added to the auato-generate script with full...
Not good at all. What's your full `platformio.ini`? The config you show is at least missing `platform = ..`. You may also be running an old version of it, in...
I'm having the feeling the wrong OpenOCD version is used. I need to check some things.
The latest published version does indeed not have a gd32e50x.cfg. This likely means I screwed up and haven't yet published the latest version into the PIO registry. I need to...
Ha. The last OpenOCD build of us seems to still be at https://github.com/CommunityGD32Cores/pre-releases/releases/tag/test For Windows, please download https://github.com/CommunityGD32Cores/pre-releases/releases/download/test/xpack-openocd-0.11.0-3-win32-x64.zip Go to `C:\Useres\\.platformio\packages\tool-openocd-gd32`. Delete all files **except** the `package.json`. Then extract the...
If `upload_protocol = cmsis-dap` does not work consistently, does `upload_protocol = gdlinkcli` work? This uses the original GigaDevice upload tool. (But no debugging possible with that tool)
I'll be publishing the up-to-date packages today, but that just sends them in "for review", after which by experience it'll take 1-2 weeks to appear in the PIO registry.
The platform mostly uses STM32 scripts anyways for GD32. Can you manually overwrite the files in `C:\Users\\.platformio\packages\tool-openocd-gd32` with your 0.12.0 version?