summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Denkmair <[email protected]>2023-03-08 12:05:58 +0100
committerHubert Denkmair <[email protected]>2023-03-08 12:14:40 +0100
commit8ae4f8f0699351e5bba349ccb0fab65b557afed6 (patch)
treee541374665677a0756a651eacdc9d686dad408f4
parent410ad4d0f9ff166610655bae31328e4120b17ef2 (diff)
add basic STM32G0 support
-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 257d08a85..957df5e9e 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -191,6 +191,11 @@
#define TUP_USBIP_FSDEV_STM32
#define TUP_DCD_ENDPOINT_MAX 8
+#elif TU_CHECK_MCU(OPT_MCU_STM32G0)
+ #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