如何在 PlatformIO 中使用特定的 espressif32 platformio 版本
对于生产项目,你通常希望锁定平台和库版本,以避免更新突然破坏你的代码:
在 platformio.ini 中,而不是
platformio.ini
platform = espressif32使用此语法直接引用 git 仓库和特定标签(在此示例中为 v3.4.0):
platformio.ini
platform = https://github.com/platformio/platform-espressif32.git#v3.4.0Check out similar posts by category:
Arduino, Electronics, 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