How I understand it now:
lib_depsspecifies the libs to be downloaded
- the libs have a config specifying what platforms/frameworks they are compatible with
lib_compat_modespecifies how strict should be LDF to include the already downloaded libs
Why would anyone want to download the lib if it cannot be used later anyway?
The WTF I stumbled upon right now:
- Cool, the dependency is downloaded, everything compiles, nice.
#include "ArduinoJson.h"– KABOOM, header not found, WTF.
- Search the docs, pull your hairs out ??
ArduinoJson/library.json at 5.x · bblanchon/ArduinoJson · GitHub – requires
Arduinoframework – I’m trying to use it on
- Now the 2 choices:
lib_compat_mode: off– will allow for
ArduinoJson.hto be included
- b.) it would not work anyway, as it really requires Arduino fw, so my time was just wasted
How it should be (IMHO):
- KABOOM → the lib is not compatible with my platform/framework settings
- No time wasted, thank you very much
What would be the use case to include an incompatible lib anyway o.O
Should I make an issue on GH or am I wrong in here?