summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorBrent Kowal <[email protected]>2024-06-28 16:55:27 -0400
committerBrent Kowal <[email protected]>2024-06-28 16:55:27 -0400
commit0f288326cc80dba192d08b74116aa0be91a81a6f (patch)
tree91e41f1b29883f15b9731a569ad336f0dc0b789c /src/common
parentba2f2299c34491aa8c354e00fa3f9d222e30db89 (diff)
Initial Commit for MAX32 Support
Initial commit for the port of TUSB to MAX32xxx parts, staring with MAX32690 - Added dcd_max32.c (based on dcd_musb.c) for interfacing with the peripheral - Added MAX32690 part family support - Added max32690evkit board support - Updated examples for unique EP number requirement - Updated get_deps.py to fetch the MSDK Known Issues / Additional Testing Required - msc_dual_lun only shown 1 volume on Windows - USBTMC does not have a valid Windowsdriver - DFU does not have a valid Windows driver - WebUSB is "Device not Recognized" - Need to test build scripts with IAR and Clang
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index c66996c4f..a68e160bd 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -452,6 +452,14 @@
#define TUP_RHPORT_HIGHSPEED CFG_TUD_WCH_USBIP_USBHS
#define TUP_DCD_ENDPOINT_MAX (CFG_TUD_WCH_USBIP_USBHS ? 16 : 8)
+//--------------------------------------------------------------------+
+// Analog Devices
+//--------------------------------------------------------------------+
+#elif TU_CHECK_MCU(OPT_MCU_MAX32690)
+ #define TUP_DCD_ENDPOINT_MAX 12
+ #define TUP_RHPORT_HIGHSPEED 1
+
+
#endif
//--------------------------------------------------------------------+