Hello,
I’m trying to use platformio for the first time so the answer might be obvious (sorry if it is)
I couldn’t find a way to tell what version of a lib I’d like to use when setting lib dependency inside the file platformio.ini.
First, I found the option (–version) when you use the command line to install a lib. That’s fine when you, a human, are doing things.
But CI (Travis) is meant to use
pio run
In this case I found that I can specify my project dependencies inside the platformio.ini file.
Sounds great to me. So I ended with this :
[env:nodemcuv2] platform = espressif framework = arduino board = nodemcuv2 lib_install = 16,166
I tried to build and it failed … because one of the lib changed (compared to the version I had locally when I used Arduino IDE).
So is there a way to specify the version for each lib I depend on?
Something like :
lib_install = 16-0.5.0,166-1.0.1
Thank you for the help