aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
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/STM32
parent0260fd851a68e5026eb63369de28946a1f72dc1c (diff)
downloadChibiOS-Contrib-5bc62c93e02b0f1ac9a92ed110a1cf2aa42f7cf2.tar.gz
ChibiOS-Contrib-5bc62c93e02b0f1ac9a92ed110a1cf2aa42f7cf2.tar.bz2
ChibiOS-Contrib-5bc62c93e02b0f1ac9a92ed110a1cf2aa42f7cf2.zip
Add HID class driver
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. */
/*===========================================================================*/
a> 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263