Merge pull request #1680 from LynnL4/port-stm32u5xx

Port stm32u5xx
This commit is contained in:
Ha Thach
2022-10-19 23:10:30 +07:00
committed by GitHub
13 changed files with 1063 additions and 0 deletions

View File

@@ -82,6 +82,12 @@
#define EP_MAX_FS 6
#define EP_FIFO_SIZE_FS 1280
#elif CFG_TUSB_MCU == OPT_MCU_STM32U5
#include "stm32u5xx.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