summaryrefslogtreecommitdiff
path: root/examples/device/cdc_uac2/src/usb_descriptors.c
diff options
context:
space:
mode:
authorHiFiPHile <[email protected]>2026-08-19 06:00:56 +0200
committerHiFiPHile <[email protected]>2026-08-19 06:00:56 +0200
commit5b4c7dcd2874389f2d7765682931345583c5e242 (patch)
treea0e53646675fa5861b209d1498a283d9297dfddf /examples/device/cdc_uac2/src/usb_descriptors.c
parenta333ccbc39a14984f07d85c7fd42bbcb01492a99 (diff)
parent5c0e31cdabaf37f14e1f5e988a020abfc1000495 (diff)
Merge branch 'master' into merge_osmerge_os
Diffstat (limited to 'examples/device/cdc_uac2/src/usb_descriptors.c')
-rw-r--r--examples/device/cdc_uac2/src/usb_descriptors.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/device/cdc_uac2/src/usb_descriptors.c b/examples/device/cdc_uac2/src/usb_descriptors.c
index 9c1bbee47..648c56e71 100644
--- a/examples/device/cdc_uac2/src/usb_descriptors.c
+++ b/examples/device/cdc_uac2/src/usb_descriptors.c
@@ -110,6 +110,16 @@ uint8_t const * tud_descriptor_device_cb(void)
#define EPNUM_CDC_IN 0x85
#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_CDC_NOTIF 0x83
+ #define EPNUM_CDC_OUT 0x04
+ #define EPNUM_CDC_IN 0x84
+
#else
#define EPNUM_AUDIO_IN 0x01
#define EPNUM_AUDIO_OUT 0x01