summaryrefslogtreecommitdiff
path: root/examples/device/uac2_headset
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-08-18 22:59:49 +0700
committerGitHub <[email protected]>2026-08-18 22:59:49 +0700
commit5c0e31cdabaf37f14e1f5e988a020abfc1000495 (patch)
tree1035bcaa6242d5bcbe5fd81827ecded0dafdcb6d /examples/device/uac2_headset
parentaf7d199e73461c25555abbdc72441ab79eb74245 (diff)
parent19ff2ed615e4a97984aab5551ac8835ead53b9e7 (diff)
Merge pull request #3831 from hathach/fix-ci-hs
dcd(ci_hs): rework bus reset handling per the reference manual, and work around ERR050101
Diffstat (limited to 'examples/device/uac2_headset')
-rw-r--r--examples/device/uac2_headset/src/usb_descriptors.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/device/uac2_headset/src/usb_descriptors.c b/examples/device/uac2_headset/src/usb_descriptors.c
index 27b6c930c..d8cdd768e 100644
--- a/examples/device/uac2_headset/src/usb_descriptors.c
+++ b/examples/device/uac2_headset/src/usb_descriptors.c
@@ -109,6 +109,13 @@ uint8_t const * tud_descriptor_device_cb(void)
#define EPNUM_AUDIO_INT 0x03
#endif
+#elif CFG_TUSB_MIMXRT1XXX_ERRATA_ERR050101
+ // ERR050101 (see CFG_TUSB_MIMXRT1XXX_ERRATA_ERR050101): an isochronous IN endpoint needs a number
+ // no other device on the bus uses
+ #define EPNUM_AUDIO_IN 0x07
+ #define EPNUM_AUDIO_OUT 0x01
+ #define EPNUM_AUDIO_INT 0x02
+
#else
#define EPNUM_AUDIO_IN 0x01
#define EPNUM_AUDIO_OUT 0x01