Handling of external libraries (Zuno2)
Posted: 04 Nov 2021 17:39
Hi,
I have a couple of libraries that I want to integrate in my sketch. The compiler cannot find these libraries even though they have been installed in a path specified within arduino.
The only way I can get these to compile is when I copy them to the same location of the delivered libraries within the toolchain, i.e. (on Mac)
But this makes it a bit hard for me to manage those libraries, because they might be deleted when a newer release is being used.
I checked the platform.txt config file:
Is there a way to include the library path that has been setup within Arduino using kind of environment variable?
Arduino -> Preferences... -> Sketchbook Location, and within that location add a library folder that includes all self managed libs?
I have a couple of libraries that I want to integrate in my sketch. The compiler cannot find these libraries even though they have been installed in a path specified within arduino.
The only way I can get these to compile is when I copy them to the same location of the delivered libraries within the toolchain, i.e. (on Mac)
Code: Select all
/Users/user/Library/Arduino15/packages/Z-Uno2/hardware/zw_cm4f/3.0.7/libraries/
I checked the platform.txt config file:
Code: Select all
tools.zprog.cmd.libraries={runtime.platform.path}/libraries
Arduino -> Preferences... -> Sketchbook Location, and within that location add a library folder that includes all self managed libs?