aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM8S-STM8S105-DISCOVERY-STVD
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 /demos/STM8S-STM8S105-DISCOVERY-STVD
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 'demos/STM8S-STM8S105-DISCOVERY-STVD')
-rw-r--r--demos/STM8S-STM8S105-DISCOVERY-STVD/demo/halconf.h14
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. */
/*===========================================================================*/