如何在 PlatformIO 中使用特定的 arduino-esp32 版本
将此行添加到 platformio.ini 以使用特定的 arduino-esp32 版本 - 例如 1.0.6:
platformio.ini
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.6注意对于某些上游版本 - 在 2021 年 12 月 17 日是 arduino-esp32 v2.x,你还需要使用不同的平台:
platformio_upstream.ini
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.1Check out similar posts by category:
Arduino, Embedded, ESP8266/ESP32, PlatformIO
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow