Using TinyUSB to access onboard storage and log to serial at the same time

All these people only have these problems because they just had to get the very latest version of Adafruit TinyUSB. The Adafruit SAMD Arduino core has a builtin, matched version of Adafruit TInyUSB already, as is evident by looking into https://github.com/adafruit/ArduinoCore-samd/tree/1.7.16/libraries. Thus, the correct way is to absolutely not include TinyUSB in the lib_deps expression. PlatformIO will comfortably find it in the builtin libraries of the Arduino core.

The msc_sd.ino files compiles with the most simplistic platformio.ini just fine. Take a look at