Bump tinyusb to include MAX3421E host startup-hang fix (#3748)#11093
Bump tinyusb to include MAX3421E host startup-hang fix (#3748)#11093mikeysklar wants to merge 1 commit into
Conversation
|
Flashed and tested USB-host drive detection (MAX3421E FeatherWing, hot-plug SanDisk/PNY/USB-storage) on real hardware with this bump:
espressif and atmel-samd build clean in CI as-is. The RP2350 and nRF52 images above are local builds with
nRF52 needed one more one-liner to build: tinyusb's Neither the audio-disable nor the clock patch is included in this PR.
proof of life |
|
@hathach We could use hathach/tinyusb#3748, but we are well behind in |
|
all changes look good, except the audio since we don't want to haardcode it with FS. Audio HS/FS has different way of calculating timing/samples. It is updated to not hardcored since even with highspeed capable device e.g imxrt, when plugging to FS host, still need to functio as FS audio. However, since cpy mostly work with PC, we can just use the TUD_OPT_HIGH_SPEED. |
Advance lib/tinyusb c1bf19ed6 -> fcd5a0603 to pull in hathach/tinyusb#3748 (adafruit#10053), and adapt to its API drift: XFER_RESULT_ABORTED enum, usbd_control.c merged into usbd.c, TUD_AUDIO_EP_SIZE is_highspeed arg, and CFG_TUD_CDC_EP_BUFSIZE -> RX_EPSIZE. Builds clean on espressif and atmel-samd; nordic still needs a usb_audio descriptor macro migration (see PR). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
dd830f1 to
894397c
Compare
|
Thanks @hathach! Updated: both The audio path can't be fully CI-compiled here yet.
|

Advances
lib/tinyusbfrom the October 2025 commit to current master so hathach/tinyusb#3748 (MAX3421E USB-host startup-hang fix) is available to build and test, per #10053.c1bf19ed6(0.18.0-748) →fcd5a0603(0.21.0-31). API drift adapted:XFER_RESULT_ABORTEDenum →shared-module/usb/core/Device.cusbd_control.cmerged intousbd.c→supervisor/supervisor.mkTUD_AUDIO_EP_SIZEgainedis_highspeedarg →tusb_config.hCFG_TUD_CDC_EP_BUFSIZE→CFG_TUD_CDC_RX_EPSIZE→usb_device.cTested: builds clean on
adafruit_feather_esp32_v2(espressif) andfeather_m4_express(atmel-samd).Known blocker — needs @FoamyGuy: nordic doesn't build yet. The same bump reorganized the USB Audio Class descriptor macros (
TUD_AUDIO_DESC_*→TUD_AUDIO10_/AUDIO20_DESC_*), andshared-module/usb_audio/usb_audio_descriptors.hstill uses the old names. That migration is UAC 1.0/2.0-sensitive and wants USB-audio hardware to verify, so it's left for the module owner. (Verified there's no earlier bump point that includes #3748 without this reorg.)