First, thanks for this awesome project!
I’m developing a tool that builds custom ESP firmwares for users based on some configuration files, and internally it’s using platformio.
Some users have started complaining about compilation speed recently, so I wanted to remove as much stuff as possible for compiling. So ideally I would disable the library dependency finder with
lib_ldf_mode = off.
However, that makes it impossible to import ESP32
WiFi.h AFAIK. Usually, the LDF would add the build-in
WiFi library automagically. But as the LDF is disabled, I have to add it explicitly in
lib_deps. But that leads platformio to import this Arduino library
I tried this all with a combination of
lib_compat_mode = strict,
lib_ignore = id=870 and so on but couldn’t come up with a solution.
[env:test] platform = firstname.lastname@example.org board = nodemcu-32s lib_ldf_mode = off lib_deps = WiFi ; adding these doesn't help lib_compat_mode = strict lib_ignore = id=870
Is it somehow possible to mark
WiFi as a built-in library, or make platformio not use the library with id 870 that clearly is incompatible with ESP32s?
Reference: this issue