From b3141bb259dca3c1a3de81f4d8d0ef5249a6579a Mon Sep 17 00:00:00 2001 From: HiFiPhile Date: Fri, 22 May 2026 18:15:38 +0200 Subject: set ch32v20x EP on supported audio examples Signed-off-by: HiFiPhile --- examples/device/audio_test/src/usb_descriptors.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/device/audio_test/src') diff --git a/examples/device/audio_test/src/usb_descriptors.c b/examples/device/audio_test/src/usb_descriptors.c index 37ebf84d3..cea4eb8d1 100644 --- a/examples/device/audio_test/src/usb_descriptors.c +++ b/examples/device/audio_test/src/usb_descriptors.c @@ -95,6 +95,10 @@ enum // Put audio iso on EP>=8 so the 2048/4096-byte FIFOs can back double packet buffering #define EPNUM_AUDIO 0x0A +#elif TU_CHECK_MCU(OPT_MCU_CH32V20X, OPT_MCU_CH32V307) + // Only EP3 is available for ISO + #define EPNUM_AUDIO 0x03 + #else #define EPNUM_AUDIO 0x01 #endif -- cgit v1.3.1