I’m just learning to use PlatformIO, but i’m getting quite confused about the purpose of the files
platformio.ini and 'library.json`
I have a large Arduino project which, up until now, I have been developing with Sloeber plugin on Eclipse, but as he stoppped development on that, im looking for an alternative solution.
The project consists of a significant number of private libraries, most of them forked from public ones, with my own additions. There are several dependencies with other private libraries, some toally new. There are 4 endproduct projects wihich make use of all those libraries.
Now what I don’t understand is the difference between declaring a dependency in
lib_deps, and declaring dependencies in
library.json. What is used when i run
pio lib install?
For the endproduct, which has no
library.json it must be the
platformio.ini … but what does the command use for the dependencies of the in
lib_deps declared libraries?
It also occurs frequently that a library is included twice in the lib_deps folder, while all specifications of dependencies are equal in name and refernce to the git repository to get it from. even a standard librarie like StandardCplusplus is installed twice.
Can anybody shed some light on this?