PlatformIO and STM32CubeMX projects

Possible duplicate of Into the quest for a CubeMX framework. There exists a third-party conversion tool GitHub - ussserrr/stm32pio: Automate managing of STM32CubeMX + PlatformIO projects.