fix STM32H7 usb host example
This commit is contained in:
parent
bf2ada3b98
commit
c03f6d26de
|
@ -250,7 +250,7 @@
|
|||
/* debug */
|
||||
#define USBH_DEBUG_ENABLE TRUE
|
||||
#define USBH_DEBUG_MULTI_HOST FALSE
|
||||
#define USBH_DEBUG_SINGLE_HOST_SELECTION USBHD2
|
||||
#define USBH_DEBUG_SINGLE_HOST_SELECTION USBHD1
|
||||
#define USBH_DEBUG_BUFFER 25000
|
||||
#define USBH_DEBUG_OUTPUT_CALLBACK usbh_debug_output
|
||||
|
||||
|
|
|
@ -93,16 +93,20 @@
|
|||
#define STM32_OTG_HS_CHANNELS_NUMBER 12
|
||||
|
||||
#define STM32_USBH_USE_OTG1 TRUE
|
||||
#define STM32_OTG1_USE_ULPI TRUE
|
||||
#define STM32_OTG_FS_RXFIFO_SIZE 1024
|
||||
#define STM32_OTG_FS_PTXFIFO_SIZE 128
|
||||
#define STM32_OTG_FS_NPTXFIFO_SIZE 128
|
||||
#define STM32_OTG1_USE_HS FALSE
|
||||
#define STM32_OTG1_USE_ULPI FALSE
|
||||
#define STM32_OTG1_USE_ULPI_VBUS FALSE
|
||||
#define STM32_OTG1_RXFIFO_SIZE 1024
|
||||
#define STM32_OTG1_PTXFIFO_SIZE 128
|
||||
#define STM32_OTG1_NPTXFIFO_SIZE 128
|
||||
|
||||
#define STM32_USBH_USE_OTG2 FALSE
|
||||
#define STM32_OTG2_USE_HS FALSE
|
||||
#define STM32_OTG2_USE_ULPI FALSE
|
||||
#define STM32_OTG_HS_RXFIFO_SIZE 2048
|
||||
#define STM32_OTG_HS_PTXFIFO_SIZE 1024
|
||||
#define STM32_OTG_HS_NPTXFIFO_SIZE 1024
|
||||
#define STM32_OTG2_USE_ULPI_VBUS FALSE
|
||||
#define STM32_OTG2_RXFIFO_SIZE 2048
|
||||
#define STM32_OTG2_PTXFIFO_SIZE 1024
|
||||
#define STM32_OTG2_NPTXFIFO_SIZE 1024
|
||||
|
||||
#define STM32_USBH_MIN_QSPACE 4
|
||||
#define STM32_USBH_CHANNELS_NP 4
|
||||
|
|
Loading…
Reference in New Issue