summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-10-04 17:26:14 +0700
committerhathach <[email protected]>2024-10-04 17:26:14 +0700
commit73f7ce7103c0d002d787abfc1ae73d1f9e087f0b (patch)
treea3f9616ff530a5fd9e29e0f71fa5d3d3175fa649 /src
parentdb15f63736e44592e042a09b526c982e0bd80d4f (diff)
U0 does not have dwc2 controller
Diffstat (limited to 'src')
-rw-r--r--src/portable/synopsys/dwc2/dwc2_stm32.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/portable/synopsys/dwc2/dwc2_stm32.h b/src/portable/synopsys/dwc2/dwc2_stm32.h
index e9f6bdd91..395b6d870 100644
--- a/src/portable/synopsys/dwc2/dwc2_stm32.h
+++ b/src/portable/synopsys/dwc2/dwc2_stm32.h
@@ -94,13 +94,6 @@ extern "C" {
#define EP_MAX_HS 9
#define EP_FIFO_SIZE_HS 4096
#endif
-
-#elif CFG_TUSB_MCU == OPT_MCU_STM32U0
- #include "stm32u0xx.h"
- #define USB_OTG_FS_PERIPH_BASE USB_OTG_FS_BASE
- #define EP_MAX_FS 6
- #define EP_FIFO_SIZE_FS 1280
-
#else
#error "Unsupported MCUs"
#endif