summaryrefslogtreecommitdiff
path: root/examples/device/audio_test/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-04-28 22:02:31 +0700
committerGitHub <[email protected]>2026-04-28 22:02:31 +0700
commit4a4420cd070f4460f6f5ed3c17011d78c325d7c0 (patch)
tree7595327abe8468e63eb470bf73a4531fb1c87495 /examples/device/audio_test/src
parent4c7fd70e53b34bf63ef9334f2b5624cac48299f1 (diff)
parentf2654a675b67b0b83337dd4df13afd498c3a0809 (diff)
Merge pull request #3605 from hathach/musb-followup-3594
Enhance dcd musb, double packet, refactor EP0, fix DATAEND race with EP0
Diffstat (limited to 'examples/device/audio_test/src')
-rw-r--r--examples/device/audio_test/src/usb_descriptors.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/device/audio_test/src/usb_descriptors.c b/examples/device/audio_test/src/usb_descriptors.c
index ad161939e..37ebf84d3 100644
--- a/examples/device/audio_test/src/usb_descriptors.c
+++ b/examples/device/audio_test/src/usb_descriptors.c
@@ -91,6 +91,10 @@ enum
// nRF5x ISO can only be endpoint 8
#define EPNUM_AUDIO 0x08
+#elif TU_CHECK_MCU(OPT_MCU_MAX32650, OPT_MCU_MAX32666, OPT_MCU_MAX32690, OPT_MCU_MAX78002)
+ // Put audio iso on EP>=8 so the 2048/4096-byte FIFOs can back double packet buffering
+ #define EPNUM_AUDIO 0x0A
+
#else
#define EPNUM_AUDIO 0x01
#endif