mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
U0 does not have dwc2 controller
This commit is contained in:
parent
db15f63736
commit
73f7ce7103
@ -94,13 +94,6 @@ extern "C" {
|
|||||||
#define EP_MAX_HS 9
|
#define EP_MAX_HS 9
|
||||||
#define EP_FIFO_SIZE_HS 4096
|
#define EP_FIFO_SIZE_HS 4096
|
||||||
#endif
|
#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
|
#else
|
||||||
#error "Unsupported MCUs"
|
#error "Unsupported MCUs"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user