Modifying startup files on platform io

Maybe this could help: Using STM32CubeMX and PlatformIO