Thanks for your answer. I changed the version of the library and in build_flags, I gave the full path
lib_deps =
adafruit/Adafruit TinyUSB Library@^2.2.2build_flags =
‘-DCFG_TUSB_CONFIG_FILE=“/Users/nicolas/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/arduino_tinyusb/include/tusb_config.h”’
However, the problem remains the same. I found a post from March 2023 that managed to get the AdaFruit TinyUSB library to work on an ESP32-S3 by changing the framework of espressif/arduino-esp32 to version v2.0.0
I’ve tried to change version by following the steps explained here but can’t compile. I admit I’d rather avoid going back to an old branch.
Do you have any other suggestions?