USB debug log: how to disable?

robizzar72
Posts: 4
Joined: Wed Mar 27, 2024 8:52 am

USB debug log: how to disable?

Postby robizzar72 » Wed Mar 27, 2024 8:56 am

Hi, I'am usign ESP-IDF 5 on ESP32-S3.

Using its USB for read a pen-drive, when it is connected I got this extra output on uart console:

Code: Select all

I (19714) USB: MSC device connected
*** Device descriptor ***
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0x0
bDeviceSubClass 0x0
...
How can I disable it?
General Log level is set to Info (ESP_LOGI).
Thanks!!!

chegewara
Posts: 2375
Joined: Wed Jun 14, 2017 9:00 pm

Re: USB debug log: how to disable?

Postby chegewara » Thu Mar 28, 2024 3:45 am

robizzar72 wrote:
Wed Mar 27, 2024 8:56 am
Hi, I'am usign ESP-IDF 5 on ESP32-S3.

Using its USB for read a pen-drive, when it is connected I got this extra output on uart console:

*** Device descriptor ***
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0x0
bDeviceSubClass 0x0
...
[/code]

How can I disable it?
General Log level is set to Info (ESP_LOGI).
Thanks!!!
These are not part of ESP_LOGx, its just printf in code.
Just remove this line
https://github.com/espressif/esp-idf/bl ... iver.c#L91

Who is online

Users browsing this forum: Majestic-12 [Bot] and 414 guests