summaryrefslogtreecommitdiff
path: root/examples/device/uac2_headset/src
diff options
context:
space:
mode:
authorBrent Kowal <[email protected]>2024-07-01 17:31:38 -0400
committerBrent Kowal <[email protected]>2024-07-01 17:31:38 -0400
commit2353c4ffbaa50072d89008df7a06a7732c824018 (patch)
tree0255e975a33bf06bfb39cdf89062228e8f142dd2 /examples/device/uac2_headset/src
parent0b82af61f3ca7f6b708399c49519fb109ab33abb (diff)
Add MAX78002 Support
-Added support for MAX78002, MAX78002EVKIT -Added provisions for remaining MAX32 USB parts
Diffstat (limited to 'examples/device/uac2_headset/src')
-rw-r--r--examples/device/uac2_headset/src/usb_descriptors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/uac2_headset/src/usb_descriptors.c b/examples/device/uac2_headset/src/usb_descriptors.c
index bfc8a4ab5..a042ad206 100644
--- a/examples/device/uac2_headset/src/usb_descriptors.c
+++ b/examples/device/uac2_headset/src/usb_descriptors.c
@@ -104,7 +104,8 @@ uint8_t const * tud_descriptor_device_cb(void)
#define EPNUM_AUDIO_OUT 0x02
#define EPNUM_AUDIO_INT 0x03
-#elif CFG_TUSB_MCU == OPT_MCU_MAX32690
+#elif CFG_TUSB_MCU == OPT_MCU_MAX32690 || CFG_TUSB_MCU == OPT_MCU_MAX32650 || \
+ CFG_TUSB_MCU == OPT_MCU_MAX32666 || CFG_TUSB_MCU == OPT_MCU_MAX78002
// MAX32 doesn't support a same endpoint number with different direction IN and OUT
// e.g EP1 OUT & EP1 IN cannot exist together
#define EPNUM_AUDIO_IN 0x01