espressif / idf-extra-components

Additional components for ESP-IDF, maintained by Espressif
147 stars 89 forks source link

usb host msc fails to build with NEWLIB_NANO_FORMAT set to yes (IEC-60) #254

Closed greenaddress closed 6 months ago

greenaddress commented 11 months ago

Answers checklist.

Which component are you using? If you choose Other, provide details in More Information.

usb

ESP-IDF version.

v5.1.1

Development Kit.

esp32s3 tdisplay s3

Used Component version.

1.1.1

More Information.

Using https://github.com/espressif/esp-idf/tree/master/examples/peripherals/usb/host/msc and setting the nano format flag on.

undefined reference to `_vfwprintf_r'
tore-espressif commented 9 months ago

Hi @greenaddress . The USB drivers (MSC, HID and UVC) use wprintf to handle USB string descriptors, which are UTF-16 encoded. We will fix in upcoming releases

tore-espressif commented 7 months ago

@greenaddress The error was actually in the MS example itself. It was fixed internally. This issue will be automatically closed when the commit is synced to esp-idf github