aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM8S-STM8S105-DISCOVERY-STVD
diff options
context:
space:
mode:
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. */
/*===========================================================================*/