Hm but I see the problem now. You cannot lib_ignore
the wrong SD library (ID:161) and force it to use the correct library (which is the SD library of the framework, at Arduino/libraries/SD at master · esp8266/Arduino · GitHub, so it’s built-in). This may actually be a problem if you need the SD card. I’ll open a bug report at Issues · platformio/platformio-core · GitHub.
1 Like