Are Arduino generic boards supported by platformio?

Thanks @maxgerhardt, I will try to incorporate it in my project.

Are there similar files for STM32G070CBT6 ? This is another MCU I consider to use, with more ROM/RAM.