Hey all, new to PlatformIO and ESP32 development.
I’m setting up my projects in the following way:
PlatformIO (dir)
----lib (dir)
----Project1 (dir)
In Project1’s platformio.ini file I define ‘lib_extra_dirs = …/lib’. After rebuilding IntelliSense, the libraries appear in the c_cpp_properties.json file, cool!
Now, I’m trying to add the local library “Display” to my project but getting the error:
Warning! Could not find the package with 'lib/Display' requirements for your system 'windows_amd64'
I’m guessing this has something to do with my library.json file, but cant figure it out.
Library.json:
{
"name": "Display",
"version": "1.0.0",
"description": "Simple wrapper for display",
"keywords": "display, easy, simple, ez",
"authors":
[
{
"name": "blah",
"email": "blah@gmail.com",
"maintainer": true
}
],
"license": "MIT",
"dependencies": [
{
"name": "olikraus/U8g2",
"version": "^2.28.8"
}
],
"frameworks": "*",
"platforms": "*",
"architectures": "*"
}
Thanks!!