aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR/RT-PRO_MICRO/usbcfg.h
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2016-05-15 12:17:52 +0000
committerFabio Utzig <utzig@utzig.org>2016-05-15 12:17:52 +0000
commite555cd14ab74a2d258b43c86a016f01243c3cfce (patch)
tree390021d2fac12c729e40a6a5b3f3b1bfc1a62a6a /demos/AVR/RT-PRO_MICRO/usbcfg.h
parentba84b3cc239d4cfdf8fc16b8c4bde12593698430 (diff)
downloadChibiOS-e555cd14ab74a2d258b43c86a016f01243c3cfce.tar.gz
ChibiOS-e555cd14ab74a2d258b43c86a016f01243c3cfce.tar.bz2
ChibiOS-e555cd14ab74a2d258b43c86a016f01243c3cfce.zip
[AVR] Add support for sparkfun pro micro board
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9489 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR/RT-PRO_MICRO/usbcfg.h')
-rw-r--r--demos/AVR/RT-PRO_MICRO/usbcfg.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/demos/AVR/RT-PRO_MICRO/usbcfg.h b/demos/AVR/RT-PRO_MICRO/usbcfg.h
new file mode 100644
index 000000000..dfc476294
--- /dev/null
+++ b/demos/AVR/RT-PRO_MICRO/usbcfg.h
@@ -0,0 +1,28 @@
+/*
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef _USBCFG_H_
+#define _USBCFG_H_
+
+extern const USBConfig usbcfg;
+extern const SerialUSBConfig serusbcfg;
+
+/* Virtual serial port over USB.*/
+extern SerialUSBDriver SDU1;
+
+#endif /* _USBCFG_H_ */
+
+/** @} */