diff options
Diffstat (limited to 'lib/chibios-contrib/testhal/STM32/STM32F4xx/USB_HOST/usbh_additional_class_drivers.h')
-rw-r--r-- | lib/chibios-contrib/testhal/STM32/STM32F4xx/USB_HOST/usbh_additional_class_drivers.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/chibios-contrib/testhal/STM32/STM32F4xx/USB_HOST/usbh_additional_class_drivers.h b/lib/chibios-contrib/testhal/STM32/STM32F4xx/USB_HOST/usbh_additional_class_drivers.h new file mode 100644 index 000000000..9a1a37c35 --- /dev/null +++ b/lib/chibios-contrib/testhal/STM32/STM32F4xx/USB_HOST/usbh_additional_class_drivers.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio | ||
3 | Copyright (C) 2015..2019 Diego Ismirlian, (dismirlian(at)google's mail) | ||
4 | |||
5 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
6 | you may not use this file except in compliance with the License. | ||
7 | You may obtain a copy of the License at | ||
8 | |||
9 | http://www.apache.org/licenses/LICENSE-2.0 | ||
10 | |||
11 | Unless required by applicable law or agreed to in writing, software | ||
12 | distributed under the License is distributed on an "AS IS" BASIS, | ||
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
14 | See the License for the specific language governing permissions and | ||
15 | limitations under the License. | ||
16 | */ | ||
17 | |||
18 | #ifndef USBH_ADDITIONAL_H_ | ||
19 | #define USBH_ADDITIONAL_H_ | ||
20 | |||
21 | #include "hal_usbh.h" | ||
22 | |||
23 | #if HAL_USE_USBH && HAL_USBH_USE_ADDITIONAL_CLASS_DRIVERS | ||
24 | |||
25 | /* Declarations */ | ||
26 | extern const usbh_classdriverinfo_t usbhCustomClassDriverInfo; | ||
27 | |||
28 | |||
29 | |||
30 | /* Comma separated list of additional class drivers */ | ||
31 | #define HAL_USBH_ADDITIONAL_CLASS_DRIVERS \ | ||
32 | &usbhCustomClassDriverInfo, | ||
33 | |||
34 | |||
35 | |||
36 | #endif | ||
37 | |||
38 | #endif /* USBH_ADDITIONAL_H_ */ | ||