aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-20 15:26:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-20 15:26:43 +0000
commitdb7b60f402fda8ffb708e73feea7ed566eea0386 (patch)
tree56983d46fa51aa763cc0d6ec5e1ef384649e9c12 /os/hal/templates
parent6a2c26a1dbd4bacc39f4746e27d1b45ba0b2a87a (diff)
downloadChibiOS-db7b60f402fda8ffb708e73feea7ed566eea0386.tar.gz
ChibiOS-db7b60f402fda8ffb708e73feea7ed566eea0386.tar.bz2
ChibiOS-db7b60f402fda8ffb708e73feea7ed566eea0386.zip
Modified all the halconf.h files to include the USB and Serial over USB drivers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2753 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates')
-rw-r--r--os/hal/templates/halconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/os/hal/templates/halconf.h b/os/hal/templates/halconf.h
index a1840f977..186404680 100644
--- a/os/hal/templates/halconf.h
+++ b/os/hal/templates/halconf.h
@@ -90,6 +90,13 @@
#endif
/**
+ * @brief Enables the SERIAL over USB subsystem.
+ */
+#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
+#define HAL_USE_SERIAL_USB TRUE
+#endif
+
+/**
* @brief Enables the SPI subsystem.
*/
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
@@ -103,6 +110,13 @@
#define HAL_USE_UART TRUE
#endif
+/**
+ * @brief Enables the USB subsystem.
+ */
+#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
+#define HAL_USE_USB TRUE
+#endif
+
/*===========================================================================*/
/* ADC driver related settings. */
/*===========================================================================*/