如何将 GitHub 仓库添加到 PlatformIO platformio.ini lib_deps
你可以通过在 platformio.ini 的 lib_deps 中指定 GitHub 仓库的 URL 来直接将其添加为 PlatformIO 库依赖
platformio.ini
lib_deps =
https://github.com/Bodmer/U8g2_for_TFT_eSPI注意 GitHub 仓库必须是有效的 PlatformIO 库,即它必须在其根目录中有 library.json 或 library.properties。https://github.com/Bodmer/U8g2_for_TFT_eSPI 是一个可以包含到 PlatformIO 中的库示例。
Check 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