mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-02 14:23:19 +08:00
[bsp][stm]: add stm32g0 usbd fs support
1.Remove unnecessary comments
This commit is contained in:
@@ -13,9 +13,6 @@
|
||||
#include <rtconfig.h>
|
||||
|
||||
#ifdef BSP_USBD_TYPE_HS
|
||||
//#define USBD_IRQ_TYPE OTG_HS_IRQn
|
||||
//#define USBD_IRQ_HANDLER OTG_HS_IRQHandler
|
||||
//#define USBD_INSTANCE USB_OTG_HS
|
||||
#else
|
||||
#define USBD_IRQ_TYPE USB_UCPD1_2_IRQn
|
||||
#define USBD_IRQ_HANDLER USB_UCPD1_2_IRQHandler
|
||||
@@ -23,17 +20,11 @@
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USBD_SPEED_HS
|
||||
//#define USBD_PCD_SPEED PCD_SPEED_HIGH
|
||||
//#elif BSP_USBD_SPEED_HSINFS
|
||||
//#define USBD_PCD_SPEED PCD_SPEED_HIGH_IN_FULL
|
||||
#else
|
||||
#define USBD_PCD_SPEED PCD_SPEED_FULL
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USBD_PHY_ULPI
|
||||
//#define USBD_PCD_PHY_MODULE PCD_PHY_ULPI
|
||||
//#elif BSP_USBD_PHY_UTMI
|
||||
//#define USBD_PCD_PHY_MODULE PCD_PHY_UTMI
|
||||
#else
|
||||
#define USBD_PCD_PHY_MODULE PCD_PHY_EMBEDDED
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user