I’ve seen this type of error several times now, and they all comie down to using an old version of platform-espressif32
with a newer PlatformIO core. Several users report the issue is solved by a reinstallation of PlatformIO (remove ~/.platformio
and restart VSCode). See Xtensa-esp32-elf/bin/ld.exe : Cannot find library.