Help needed: Setting up STM32G030C8T6

Hello everyone,

I hope you’re all doing well!

I’m currently working on a project using an MCU STM32G030C8T6 with the Cube IDE. However, I’d like to migrate to PlatformIO as my development environment. My project doesn’t rely on any specific framework like Arduino; I’m using the MCU on a custom PCB primarily for digital signal conversion from keyboards, with a focus on basic I/O operations.

I noticed that this particular model isn’t officially supported in PlatformIO, but it seems like a custom profile could be created for it. I’ve done some research here on the forum and elsewhere, but I’ve come across some conflicting information. So, I’d like to ask the community for guidance on how to set up the correct configuration.

Any help or insights would be greatly appreciated!

Thanks in advance!

You should be able to use this definition here to create a new STM32Cube/HAL project for it (see example).

If yo have an existing STM32Cube project, you may be able to use https://github.com/ussserrr/stm32pio/ to convert it to the folder structure that PlatformIO expects.