diff --git a/testhal/STM32/STM32H7xx/USB_HOST/halconf_community.h b/testhal/STM32/STM32H7xx/USB_HOST/halconf_community.h index 712501aa..60452b81 100644 --- a/testhal/STM32/STM32H7xx/USB_HOST/halconf_community.h +++ b/testhal/STM32/STM32H7xx/USB_HOST/halconf_community.h @@ -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 diff --git a/testhal/STM32/STM32H7xx/USB_HOST/mcuconf_community.h b/testhal/STM32/STM32H7xx/USB_HOST/mcuconf_community.h index 2a583326..7bccb1ea 100644 --- a/testhal/STM32/STM32H7xx/USB_HOST/mcuconf_community.h +++ b/testhal/STM32/STM32H7xx/USB_HOST/mcuconf_community.h @@ -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