summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-11-27 23:22:10 +0700
committerGitHub <[email protected]>2024-11-27 23:22:10 +0700
commit5bb90efd5ff59d3b1d67f3c9269ce1aa57a925a6 (patch)
tree862cee5bd3fddf7df8660c097847e3a718f2fd92 /src/common
parentdbc2c8d9720593ce4b0bbd0c96b3b91f81ce15bb (diff)
parentf090b642271710b33c029e825ee2afe139195c73 (diff)
Merge pull request #2848 from DavidEGrayson/pr_stm32c0
Add support for the STM32C0 and the NUCLEO-C071RB
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index d43e5f2ba..0c64c041c 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -238,6 +238,11 @@
#define TUP_USBIP_FSDEV_STM32
#define TUP_DCD_ENDPOINT_MAX 8
+#elif TU_CHECK_MCU(OPT_MCU_STM32C0)
+ #define TUP_USBIP_FSDEV
+ #define TUP_USBIP_FSDEV_STM32
+ #define TUP_DCD_ENDPOINT_MAX 8
+
#elif TU_CHECK_MCU(OPT_MCU_STM32L0, OPT_MCU_STM32L1)
#define TUP_USBIP_FSDEV
#define TUP_USBIP_FSDEV_STM32