Updating your local platform is not done automatically (many people complained that it auto-broke their projects), so now you have to do it either via
- PlatformIO Home (GUI) → Platforms → Espressif32 → Update
- or, PlatformIO Core CLI →
pio pkg update -g -p espressif32