It’s well known that the Arduino IDE isn’t as good as PlatformIO. I want to use PlatformIO in VS Code — is there any way to configure my platformio.ini (based on the parameters above) to speed up package downloads?
Best regards.
P.S. My platformio.ini file is: [env:airm2m_core_esp32c3] platform = espressif32 board = airm2m_core_esp32c3 framework = arduino
Note that usually a PlatformIO package is not the same as a package described by the “Arduino Board URL”. Many packages there are repackaged for PlatformIO, usually adding a package.json metadata file or some other critical file. In the case of the Arduino-ESP32 framework, it is the same package though, because they already have the package.json. There are only some special cases where they’re actually equivalent.
Also note that the latest official espressif32 platform is outdated and will give you Arduino-ESP32 2.0.17. The current latest version is Arduino-ESP32 3.3.11. You have to use PIOArduino in your platformio.ini if you want the latest Arduino-ESP32 cores, see https://github.com/pioarduino/platform-espressif32.