diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-09-01 13:32:09 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-09-01 13:32:09 +0000 |
commit | 64689ec9b44217acd92443e88793a6e8387dd709 (patch) | |
tree | 53ddc083ee3d07284a3c4d5839207608ae61e140 /testhal/STM32/STM32F4xx/USB_CDC/usbcfg.h | |
parent | 2c934bb1fa9037c5088ad7001d417f3e1598ccbf (diff) | |
download | ChibiOS-64689ec9b44217acd92443e88793a6e8387dd709.tar.gz ChibiOS-64689ec9b44217acd92443e88793a6e8387dd709.tar.bz2 ChibiOS-64689ec9b44217acd92443e88793a6e8387dd709.zip |
Improved STM32F4 USB_CDC demo, now it supports both the ST and Olimex boards.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8267 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/USB_CDC/usbcfg.h')
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_CDC/usbcfg.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_CDC/usbcfg.h b/testhal/STM32/STM32F4xx/USB_CDC/usbcfg.h new file mode 100644 index 000000000..2ffaa17f9 --- /dev/null +++ b/testhal/STM32/STM32F4xx/USB_CDC/usbcfg.h @@ -0,0 +1,25 @@ +/*
+ 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 SerialUSBConfig serusbcfg;
+
+#endif /* _USBCFG_H_ */
+
+/** @} */
|