aboutsummaryrefslogtreecommitdiffstats
path: root/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h')
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h b/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h
index 0fe9ac8c5..74dcca95f 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h
+++ b/testex/STM32/STM32F4xx/I2C-LSM6DSL/halconf.h
@@ -201,6 +201,13 @@
#define HAL_USE_WDG FALSE
#endif
+/**
+ * @brief Enables the WSPI subsystem.
+ */
+#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
+#define HAL_USE_WSPI FALSE
+#endif
+
/*===========================================================================*/
/* PAL driver related settings. */
/*===========================================================================*/
@@ -527,6 +534,26 @@
#define USB_USE_WAIT FALSE
#endif
+/*===========================================================================*/
+/* WSPI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__)
+#define WSPI_USE_WAIT TRUE
+#endif
+
+/**
+ * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
+#define WSPI_USE_MUTUAL_EXCLUSION TRUE
+#endif
+
#endif /* HALCONF_H */
/** @} */