I’m needing the same thing. Recently wrote an open source C++ GD32 peripheral library to replace the one vendor supplies, along with a custom Arduino core for it, using the latest Arduino API. They were both written against features and changes in the latest ARM GCC (14.2) It would make life so much easier to have this as a package.
Hi @bnmguy ! Did GCC 14 work for you well with platformio? I am having 2 problems with it now:
When trying to debug, arm-none-eabi-as fails with error “Fatal error: unknown option `-g2’“. Seems platformio appends -g2 to assembler, which is not a valid argument anymore (simple “-g” is). So the workaround is to set “debug_build_flags = -g“ manually (“-ggdb2“ is also not acceptable but is supplied by platformio)
When trying to enable LTO, arm-none-eabi-ar fails with error “.pio\build\devboard\FrameworkCMSISDevice\system.o: plugin needed to handle lto object. This I haven’t solved yet and have to keep lto disabled.