From 0c260638da6dde3896a2fd6c4e3b39ee1a1b12e9 Mon Sep 17 00:00:00 2001 From: Diego Ismirlian Date: Mon, 30 Sep 2019 18:55:03 -0300 Subject: USBH: Update testhal project to new debugging framework --- testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h') diff --git a/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h b/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h index fef417f..c76d1ef 100644 --- a/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h +++ b/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h @@ -177,7 +177,7 @@ #define HAL_USBH_PORT_DEBOUNCE_TIME 200 #define HAL_USBH_PORT_RESET_TIMEOUT 500 #define HAL_USBH_DEVICE_ADDRESS_STABILIZATION 20 -#define HAL_USBH_CONTROL_REQUEST_DEFAULT_TIMEOUT OSAL_MS2I(1000) +#define HAL_USBH_CONTROL_REQUEST_DEFAULT_TIMEOUT OSAL_MS2I(1000) /* MSD */ #define HAL_USBH_USE_MSD TRUE @@ -202,7 +202,7 @@ #define HAL_USBHAOA_MAX_INSTANCES 1 /* Uncomment this if you need a filter for AOA devices: - * #define HAL_USBHAOA_FILTER_CALLBACK _try_aoa + * #define HAL_USBHAOA_FILTER_CALLBACK _try_aoa */ #define HAL_USBHAOA_DEFAULT_MANUFACTURER "Diego MFG & Co." #define HAL_USBHAOA_DEFAULT_MODEL "Diego's device" @@ -235,9 +235,10 @@ /* debug */ #define USBH_DEBUG_ENABLE TRUE -#define USBH_DEBUG_USBHD USBHD1 -#define USBH_DEBUG_SD SD2 +#define USBH_DEBUG_MULTI_HOST FALSE +#define USBH_DEBUG_SINGLE_HOST_SELECTION USBHD1 #define USBH_DEBUG_BUFFER 25000 +#define USBH_DEBUG_OUTPUT_CALLBACK usbh_debug_output #define USBH_DEBUG_ENABLE_TRACE FALSE #define USBH_DEBUG_ENABLE_INFO TRUE -- cgit v1.2.3