There have been multiple topics about the outdatedness of PlatformIO’s Arduino-ESP32 framework already in this forum – see Question about IDF version of ESP platform version 3.4.0 - #2 by maxgerhardt.
There have been multiple topics about the outdatedness of PlatformIO’s Arduino-ESP32 framework already in this forum – see Question about IDF version of ESP platform version 3.4.0 - #2 by maxgerhardt.