aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h11
1 files changed, 11 insertions, 0 deletions
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. */
/*===========================================================================*/