aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM8S
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 /testhal/STM8S
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 'testhal/STM8S')
-rw-r--r--testhal/STM8S/SPI/demo/halconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/testhal/STM8S/SPI/demo/halconf.h b/testhal/STM8S/SPI/demo/halconf.h
index 610db1d06..c69bb0024 100644
--- a/testhal/STM8S/SPI/demo/halconf.h
+++ b/testhal/STM8S/SPI/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. */
/*===========================================================================*/