Lib_extra_dirs deprecated alternative

I’m trying to replace lib_extra_dirs behavior by using lib_deps relative include.
It does not work properly. I mean, it should not work, anyway.

Currently it’s only finding last library contained on that folder:

I, as a general generic developer, do not want to create a json file for each of my “libraries”.
I just want to insert it for a given environment, as a kinda of HAL implementation.

How can I do it without any boilerplate?

Thanks!

1 Like

I have the same issue here, got a Library folder with custom code with more than 60 custom “libraries”, the Lib_extra_dirs is working perfectly for this. Not planning on adding boiler plate code 60 times and possibly revisiting those files continuously for all build targets. Most of the libraries work for all Arduino based targets.