PlatformIO Community

Unregistered manifest pointing to fork of library?


I need to use the FreematicsOne library, which is developed in the “firmware_v4/libraries/FreematicsONE” subdirectory at I created which points to the Freematics repository and “includes” the correct subdirectory as per the library finder docs. I registered this manifest and now it shows up at in the PlatformIO registry. So far so good.

Now I want to fork the library. How do I point my platformio.ini “libs” at this fork? I can’t use the fork’s repository URL because I need to keep the “include” directive from the manifest.
Can I have a local library manifest that is not in the registry that points to the fork or a directory on my hard drive?


Could you try the next?

$ cd /to/platformio/project
$ pio lib install

Now, in platformio.ini

board = ..
lib_extra_dirs = .piolibdeps/Freematics/firmware_v4/libraries