aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian (at) google's mail.com>2017-06-05 10:53:59 -0300
committerDiego Ismirlian <dismirlian (at) google's mail.com>2017-06-05 10:53:59 -0300
commit5bc62c93e02b0f1ac9a92ed110a1cf2aa42f7cf2 (patch)
tree128e7f3d71c415d8b15e43553f48e265dc671c12 /testhal
parent0260fd851a68e5026eb63369de28946a1f72dc1c (diff)
downloadChibiOS-Contrib-5bc62c93e02b0f1ac9a92ed110a1cf2aa42f7cf2.tar.gz
ChibiOS-Contrib-5bc62c93e02b0f1ac9a92ed110a1cf2aa42f7cf2.tar.bz2
ChibiOS-Contrib-5bc62c93e02b0f1ac9a92ed110a1cf2aa42f7cf2.zip
Add HID class driver
Diffstat (limited to 'testhal')
-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. */
/*===========================================================================*/