Skip to content

SDK 2.1.0 tinyusb panics on composite usb audio and cdc acm device #2236

@not1337

Description

@not1337

The tinyusb version pulled by SDK 2.1.0 is missing a fix causing panic when using a composite usb device (audio and cdc/acm). The problem seems to be well known and fixed in current versions of tinyusb. See: hathach/tinyusb#1802
A future SDK release needs an updated version of tinyusb.

As a temporary fix for everyone affected, replace the dcd_rp2040.c of the pulled tinyusb library with:

https://raw.githubusercontent.com/howard0su/tinyusb/cd7ee9639ee5ceddcdaecde5842c2ce97a56ce63/src/portable/raspberrypi/rp2040/dcd_rp2040.c

The above fixes the problem for me and the link is included for convenience to reduce search time for everyone affected.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions