I an missing an option to exclude a specific library. Here my trouble example. I use:
#include <Arduino.h> #include <ESPAsyncWebServer.h>
and in my pio.ini have:
board = esp32dev framework = arduino platform = https://github.com/platformio/platform-espressif32.git#feature/idf-master platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#2.0.0-rc1 lib_deps = https://github.com/me-no-dev/ESPAsyncWebServer.git#master https://github.com/me-no-dev/AsyncTCP.git#master powerbroker2/SafeString@^4.1.5 lib_ignore = LittleFS_esp32
So, I want to use a specific webserver AND for it a specific AsyncTCP. However, as long as the default AsyncTCP still exists in the project, both seem to be included as seen in the Dependency graph:
Setting the old lib to “Ignoring” is not possible, because within the triangular brackets the old and new one have the identical name
AsyncTCP - I can only ignore either both or none.
I am not sure about what happens with the two libs are seemingly both included, but some big troubles in my project went away only after I uninstalled the old lib!
This shortcoming could be overcome if the
lib_ignore allowed the same type of specification for version like e.g.
@^1.1.1 as is used for