如何将 git 仓库添加到 PlatformIO 依赖项 (lib_deps)
通常,你可以通过在 platformio.ini 中添加以下内容来添加 PlatformIO 库依赖项:
platformio.ini
lib_deps =
bblanchon/ArduinoJson@^6.21.3但你也可以添加 git 仓库(以下示例使用主分支如 master 或 main):
platformio.ini
lib_deps =
https://github.com/ulikoehler/HumanESPHTTP.git或者你可以使用特定分支或标签
platformio.ini
lib_deps =
https://github.com/ulikoehler/HumanESPHTTP.git#v1.0.0Check out similar posts by category:
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