diff options
Diffstat (limited to 'lib/chibios/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h')
-rw-r--r-- | lib/chibios/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/chibios/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h b/lib/chibios/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h new file mode 100644 index 000000000..21b022aa8 --- /dev/null +++ b/lib/chibios/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | #ifndef _USBCFG_H_ | ||
18 | #define _USBCFG_H_ | ||
19 | |||
20 | extern const USBConfig usbcfg; | ||
21 | extern const SerialUSBConfig serusbcfg; | ||
22 | |||
23 | /* Virtual serial port over USB.*/ | ||
24 | extern SerialUSBDriver SDU1; | ||
25 | |||
26 | #endif /* _USBCFG_H_ */ | ||
27 | |||
28 | /** @} */ | ||