From 5bc62c93e02b0f1ac9a92ed110a1cf2aa42f7cf2 Mon Sep 17 00:00:00 2001 From: Diego Ismirlian Date: Mon, 5 Jun 2017 10:53:59 -0300 Subject: Add HID class driver --- testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'testhal/STM32/STM32F4xx/USB_HOST') diff --git a/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h b/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h index f0e1195..4466e0f 100644 --- a/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h +++ b/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h @@ -130,6 +130,12 @@ #define HAL_USBHAOA_DEFAULT_SERIAL NULL #define HAL_USBHAOA_DEFAULT_AUDIO_MODE USBHAOA_AUDIO_MODE_DISABLED +/* HID */ +#define HAL_USBH_USE_HID TRUE +#define HAL_USBHHID_MAX_INSTANCES 2 +#define HAL_USBHHID_USE_INTERRUPT_OUT FALSE + + /* HUB */ #define HAL_USBH_USE_HUB TRUE @@ -178,6 +184,11 @@ #define USBHAOA_DEBUG_ENABLE_WARNINGS TRUE #define USBHAOA_DEBUG_ENABLE_ERRORS TRUE +#define USBHHID_DEBUG_ENABLE_TRACE TRUE +#define USBHHID_DEBUG_ENABLE_INFO TRUE +#define USBHHID_DEBUG_ENABLE_WARNINGS TRUE +#define USBHHID_DEBUG_ENABLE_ERRORS TRUE + /*===========================================================================*/ /* FSMCNAND driver related settings. */ /*===========================================================================*/ -- cgit v1.2.3