Looking for an example for m5stack / esp32 vscode + platformIO

I’m trying to get my m5stack together with vscode + platformio running. But could not find a example to give me a kickstart.
I failed to transfer the esp32 example to platformio. Failed also with transfer the platformio example from stm32 to esp32. (Compiles for stm32 but not for esp32)
I’m not an expert - especially not for build environments.
Any hint where I can get a fresh quickstart?