How to add library dependency from local filesystem in PlatformIO
If you want to add a library dependency to lib_deps where the library is from the local file system, just add the full path to lib_deps
platformio_libdeps.ini
lib_deps =
/home/user/MyCustomLibThis is really handy when developing libs since it allows you to just save changes in the source code and rebuild your main project without any need to publish and update the package first.
Note that you need to Clean and then Build or Upload in order to update the files from the local directory. PlatformIO will cache them unless you Clean and then rebuild!
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