mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 21:41:09 +00:00
Merge pull request #2871 from ebs-universe/master
This commit is contained in:
commit
b3efa8eb6a
@ -299,6 +299,16 @@
|
|||||||
#define TUP_USBIP_FSDEV_STM32
|
#define TUP_USBIP_FSDEV_STM32
|
||||||
#define TUP_DCD_ENDPOINT_MAX 8
|
#define TUP_DCD_ENDPOINT_MAX 8
|
||||||
|
|
||||||
|
#elif TU_CHECK_MCU(OPT_MCU_STM32H7RS)
|
||||||
|
#define TUP_USBIP_DWC2
|
||||||
|
#define TUP_USBIP_DWC2_STM32
|
||||||
|
|
||||||
|
// FS has 6, HS has 9
|
||||||
|
#define TUP_DCD_ENDPOINT_MAX 9
|
||||||
|
|
||||||
|
// MCU with on-chip HS Phy
|
||||||
|
#define TUP_RHPORT_HIGHSPEED 1
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// Sony
|
// Sony
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
@ -69,6 +69,14 @@ extern "C" {
|
|||||||
#define OTG_FS_IRQn OTG_HS_IRQn
|
#define OTG_FS_IRQn OTG_HS_IRQn
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#elif CFG_TUSB_MCU == OPT_MCU_STM32H7RS
|
||||||
|
#include "stm32h7rsxx.h"
|
||||||
|
#define EP_MAX_FS 6
|
||||||
|
#define EP_FIFO_SIZE_FS 1280
|
||||||
|
|
||||||
|
#define EP_MAX_HS 9
|
||||||
|
#define EP_FIFO_SIZE_HS 4096
|
||||||
|
|
||||||
#elif CFG_TUSB_MCU == OPT_MCU_STM32F7
|
#elif CFG_TUSB_MCU == OPT_MCU_STM32F7
|
||||||
#include "stm32f7xx.h"
|
#include "stm32f7xx.h"
|
||||||
#define EP_MAX_FS 6
|
#define EP_MAX_FS 6
|
||||||
|
@ -92,6 +92,7 @@
|
|||||||
#define OPT_MCU_STM32L5 314 ///< ST L5
|
#define OPT_MCU_STM32L5 314 ///< ST L5
|
||||||
#define OPT_MCU_STM32H5 315 ///< ST H5
|
#define OPT_MCU_STM32H5 315 ///< ST H5
|
||||||
#define OPT_MCU_STM32U0 316 ///< ST U0
|
#define OPT_MCU_STM32U0 316 ///< ST U0
|
||||||
|
#define OPT_MCU_STM32H7RS 317 ///< ST F7RS
|
||||||
|
|
||||||
// Sony
|
// Sony
|
||||||
#define OPT_MCU_CXD56 400 ///< SONY CXD56
|
#define OPT_MCU_CXD56 400 ///< SONY CXD56
|
||||||
|
Loading…
x
Reference in New Issue
Block a user