-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Description
I would like to use precompile library.
First of all, I follow this tutorial
https://wiki.seeedstudio.com/Software-Static-Library/
To create a static library file (dot a file). After successfully create a static library file. I changed its file name to libLHBoard.a
and place it in /src/esp32 in Arduino's library folder. As the picture bellow
After that, ** I append two these lines in library.properties file to make use precompile library (libLHBoard.a) file**
precompiled=true
ldflags=-lLHBoard
I to make use that I can use precompile library, I tried to remove all .cpp files. in that library and call a function in static libaray
It doesn't work at all. Can anybody give me advice?
Of course I already build compile, and use that library to assure the error can't come from it side
