I'm using Linux Mint 20.3, Visual Studio Code 1.36.1 (also tried the latest 1.64.1), Platformio 1.10.0 (tried latest 2.4.1). Not compiling with Windows 10 latest version Code 1.64.2, PlatformIO 2.4.1.
Meanwhile I'm using the compiled ESP32 bin, but would be great to change the pin assignment...