Latest mainline espressif32 platform release is 6.8.1, not 6.3.2. It contains Arduino-ESP32 v2.0.17.
https://github.com/platformio/platform-espressif32/releases
Forks like https://github.com/pioarduino/platform-espressif32 support the latest Arduino-ESP32 3.x.