diff options
author | Diego Ismirlian <dismirlian@gmail.com> | 2019-09-30 18:55:03 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian@gmail.com> | 2019-10-02 17:02:19 -0300 |
commit | 0c260638da6dde3896a2fd6c4e3b39ee1a1b12e9 (patch) | |
tree | 7b1d9763b4675c31555fc0f1510e7ad2817a8b86 /testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h | |
parent | 938daa12d66b50ddf4f3d4c6cf9bbd244d3840c0 (diff) | |
download | ChibiOS-Contrib-0c260638da6dde3896a2fd6c4e3b39ee1a1b12e9.tar.gz ChibiOS-Contrib-0c260638da6dde3896a2fd6c4e3b39ee1a1b12e9.tar.bz2 ChibiOS-Contrib-0c260638da6dde3896a2fd6c4e3b39ee1a1b12e9.zip |
USBH: Update testhal project to new debugging framework
Diffstat (limited to 'testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h')
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h | 9 |
1 files changed, 5 insertions, 4 deletions
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
|