Closed tuupola closed 3 years ago
You can override a name of libdeps
dir https://docs.platformio.org/en/latest/projectconf/section_platformio.html#libdeps-dir
So, did you try libdeps_dir = components
?
Please reopen if you still need help
To update this one a little bit:
I had to add "./" to run from the project library, and you need to add the folder first:
pio pkg install --storage-dir ./components --library "robusto/robusto"
What kind of issue is this?
Configuration
Operating system: macOS Mojave 10.14.6 PlatformIO Version (
platformio --version
): PlatformIO, version 5.0.1Description of problem
Menuconfig ignores library KConfig files unless the library is installed in
components
folder. Tested withesp-idf
.Steps to Reproduce
$ pio lib install git@github.com:tuupola/hagl.git
$ pio run -t menuconfig
Actual Results
Library config options are not shown.
Expected Results
Library config options should be shown.
Additional info
Workaround is to pass the
--storage-dir
option when installing the library.However this fails for future users running
pio run
because dependencies are downloaded into.pio/environment
folder. Another workaround is to use aplatformio.ini
which abuses the environment name:Downside for this approach is that you can only only one environment and it has to be called
components
.