diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-20 15:26:43 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-20 15:26:43 +0000 |
commit | db7b60f402fda8ffb708e73feea7ed566eea0386 (patch) | |
tree | 56983d46fa51aa763cc0d6ec5e1ef384649e9c12 /demos/STM8S-STM8S105-DISCOVERY-STVD | |
parent | 6a2c26a1dbd4bacc39f4746e27d1b45ba0b2a87a (diff) | |
download | ChibiOS-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 'demos/STM8S-STM8S105-DISCOVERY-STVD')
-rw-r--r-- | demos/STM8S-STM8S105-DISCOVERY-STVD/demo/halconf.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/halconf.h b/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/halconf.h index 890f3896b..14275dc93 100644 --- a/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/halconf.h +++ b/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/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 FALSE
+#endif
+
+/**
* @brief Enables the SPI subsystem.
*/
#if !defined(HAL_USE_SPI) || defined(__DOXYGEN__)
@@ -103,6 +110,13 @@ #define HAL_USE_UART FALSE
#endif
+/**
+ * @brief Enables the USB subsystem.
+ */
+#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
+#define HAL_USE_USB FALSE
+#endif
+
/*===========================================================================*/
/* ADC driver related settings. */
/*===========================================================================*/
|