Page 1 of 1

ESP32S3 Cannot enable CONFIG_TINYUSB_ENABLED

Posted: Sun Jul 20, 2025 2:35 pm
by alessandro_fano
Hello everyone,

I am creating this topic in the hope someone can help me in this issue.
I am working on a project using ESP-IDF extension for VS Code, with esp-idf v5.3 and adding Arduino as component.
This has been working great so far.
Now I am trying to make my ESP32S3 act as MSC device, but my project is not compiling because it seems that the macro CONFIG_TINYUSB_ENABLED is not set by menuconfig.
The weird thing is that in menuconfig there is not such an option, but only specific options like CONFIG_TINYUSB_MSC_ENABLED.
My project do not compile because files such as USBMSC.cpp do not compile because all the APIs like tinyusb_add_string_descriptor and tinyusb_get_free_duplex_endpoint are undefined, since they are defined in esp32-hal-tinyusb.c within an #if CONFIG_TINYUSB_ENABLED
statement.
I have already added the tinyusb dependency in my idf_component.yml file

Code: Select all

espressif/esp_tinyusb: "^1.4.2"
If anyone has any idea that could help me it would be great!