aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/SPI
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-10-06 04:48:41 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-10-06 04:48:41 +0000
commit5ad3d2426f44f13439baf3f7f9de7fb9ddf1c00c (patch)
treed207a07ba1a7a3182668890083c6a8d0541b14fd /testhal/STM32/multi/SPI
parentf2af1a7e522aa8c6f96b732c9b724b955c76d3d5 (diff)
downloadChibiOS-5ad3d2426f44f13439baf3f7f9de7fb9ddf1c00c.tar.gz
ChibiOS-5ad3d2426f44f13439baf3f7f9de7fb9ddf1c00c.tar.bz2
ChibiOS-5ad3d2426f44f13439baf3f7f9de7fb9ddf1c00c.zip
Removed references to QSPI to most configuration files, more to do.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12330 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/STM32/multi/SPI')
-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/stm32l476_discovery/halconf.h27
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32l476_discovery/mcuconf.h12
-rw-r--r--testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h27
7 files changed, 6 insertions, 168 deletions
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h
index 996c435da..36d32eddb 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h
@@ -125,13 +125,6 @@
#endif
/**
- * @brief Enables the QSPI subsystem.
- */
-#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__)
-#define HAL_USE_QSPI FALSE
-#endif
-
-/**
* @brief Enables the RTC subsystem.
*/
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
@@ -354,26 +347,6 @@
#endif
/*===========================================================================*/
-/* QSPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__)
-#define QSPI_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define QSPI_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
/* SDC driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h
index 996c435da..36d32eddb 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h
@@ -125,13 +125,6 @@
#endif
/**
- * @brief Enables the QSPI subsystem.
- */
-#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__)
-#define HAL_USE_QSPI FALSE
-#endif
-
-/**
* @brief Enables the RTC subsystem.
*/
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
@@ -354,26 +347,6 @@
#endif
/*===========================================================================*/
-/* QSPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__)
-#define QSPI_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define QSPI_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
/* SDC driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h
index 996c435da..36d32eddb 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h
@@ -125,13 +125,6 @@
#endif
/**
- * @brief Enables the QSPI subsystem.
- */
-#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__)
-#define HAL_USE_QSPI FALSE
-#endif
-
-/**
* @brief Enables the RTC subsystem.
*/
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
@@ -354,26 +347,6 @@
#endif
/*===========================================================================*/
-/* QSPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__)
-#define QSPI_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define QSPI_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
/* SDC driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h
index 996c435da..36d32eddb 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h
@@ -125,13 +125,6 @@
#endif
/**
- * @brief Enables the QSPI subsystem.
- */
-#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__)
-#define HAL_USE_QSPI FALSE
-#endif
-
-/**
* @brief Enables the RTC subsystem.
*/
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
@@ -354,26 +347,6 @@
#endif
/*===========================================================================*/
-/* QSPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__)
-#define QSPI_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define QSPI_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
/* SDC driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/halconf.h
index 996c435da..36d32eddb 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/halconf.h
@@ -125,13 +125,6 @@
#endif
/**
- * @brief Enables the QSPI subsystem.
- */
-#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__)
-#define HAL_USE_QSPI FALSE
-#endif
-
-/**
* @brief Enables the RTC subsystem.
*/
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
@@ -354,26 +347,6 @@
#endif
/*===========================================================================*/
-/* QSPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__)
-#define QSPI_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define QSPI_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
/* SDC driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/mcuconf.h b/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/mcuconf.h
index 80645b386..d18ac82cf 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/mcuconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32l476_discovery/mcuconf.h
@@ -223,12 +223,6 @@
#define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
- * QSPI driver system settings.
- */
-#define STM32_QSPI_USE_QUADSPI1 FALSE
-#define STM32_QSPI_QUADSPI1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
-
-/*
* SDC driver system settings.
*/
#define STM32_SDC_USE_SDMMC1 FALSE
@@ -324,4 +318,10 @@
*/
#define STM32_WDG_USE_IWDG FALSE
+/*
+ * WSPI driver system settings.
+ */
+#define STM32_WSPI_USE_QUADSPI1 FALSE
+#define STM32_WSPI_QUADSPI1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+
#endif /* MCUCONF_H */
diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h
index 996c435da..36d32eddb 100644
--- a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h
+++ b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/halconf.h
@@ -125,13 +125,6 @@
#endif
/**
- * @brief Enables the QSPI subsystem.
- */
-#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__)
-#define HAL_USE_QSPI FALSE
-#endif
-
-/**
* @brief Enables the RTC subsystem.
*/
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
@@ -354,26 +347,6 @@
#endif
/*===========================================================================*/
-/* QSPI driver related settings. */
-/*===========================================================================*/
-
-/**
- * @brief Enables synchronous APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__)
-#define QSPI_USE_WAIT TRUE
-#endif
-
-/**
- * @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs.
- * @note Disabling this option saves both code and data space.
- */
-#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
-#define QSPI_USE_MUTUAL_EXCLUSION TRUE
-#endif
-
-/*===========================================================================*/
/* SDC driver related settings. */
/*===========================================================================*/