mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-11 00:39:57 +00:00
add highspeed detect for f723/730/733
This commit is contained in:
parent
a4ba3f2891
commit
2fe3a925fb
@ -153,6 +153,11 @@
|
|||||||
// FS has 6, HS has 9
|
// FS has 6, HS has 9
|
||||||
#define TUP_DCD_ENDPOINT_MAX 9
|
#define TUP_DCD_ENDPOINT_MAX 9
|
||||||
|
|
||||||
|
// MCU with on-chip HS Phy
|
||||||
|
#if defined(STM32F723xx) || defined(STM32F730xx) || defined(STM32F733xx)
|
||||||
|
#define TUP_RHPORT_HIGHSPEED 0x02 // Port 0: FS, Port 1: HS
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif TU_CHECK_MCU(OPT_MCU_STM32H7)
|
#elif TU_CHECK_MCU(OPT_MCU_STM32H7)
|
||||||
#define TUP_USBIP_DWC2
|
#define TUP_USBIP_DWC2
|
||||||
#define TUP_USBIP_DWC2_STM32
|
#define TUP_USBIP_DWC2_STM32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user