Skip to content

Commit

Permalink
U0 does not have dwc2 controller
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Oct 4, 2024
1 parent db15f63 commit 73f7ce7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/portable/synopsys/dwc2/dwc2_stm32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73f7ce7

Please sign in to comment.