aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-30 17:01:52 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-30 17:01:52 +0000
commit85d62cbdf68219a526aa4ee68c325adda8b8d67e (patch)
tree0d2293850986a464910ea05a7786acdd4d9a9d51 /testhal/STM32/multi
parente100ea5b29ad86a12ef87aaf5c854dec17becfd4 (diff)
downloadChibiOS-85d62cbdf68219a526aa4ee68c325adda8b8d67e.tar.gz
ChibiOS-85d62cbdf68219a526aa4ee68c325adda8b8d67e.tar.bz2
ChibiOS-85d62cbdf68219a526aa4ee68c325adda8b8d67e.zip
Added WSPI-related code, updated halconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12311 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/STM32/multi')
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h27
-rw-r--r--testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h27
-rw-r--r--testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h27
-rw-r--r--testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h27
25 files changed, 675 insertions, 0 deletions
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h
index 0d4a1279f..93e463b0d 100644
--- a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h
index b597e1cae..93c9a9a6d 100644
--- a/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/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 */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/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 */
/** @} */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h
index f34b75893..996c435da 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/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 */
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h
index 370dab7c7..2a8286cca 100644
--- a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h
+++ b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/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 */
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h
index 370dab7c7..2a8286cca 100644
--- a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h
index 370dab7c7..2a8286cca 100644
--- a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h
index 370dab7c7..2a8286cca 100644
--- a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/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 */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32h743_nucleo144/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 */
/** @} */
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h
index 1df4885ab..d1256d49b 100644
--- a/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/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 */
/** @} */