aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-05-13 14:11:27 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-05-13 14:11:27 +0000
commit745c0f1e34ce975eed8c74a4c3fb9b0f5ab3a108 (patch)
tree61826406aa5937e598b82c31bfe50cd47df7820e /testhal
parent8a2c400dba03a9eb76ccba3af53161f111aea74f (diff)
downloadChibiOS-745c0f1e34ce975eed8c74a4c3fb9b0f5ab3a108.tar.gz
ChibiOS-745c0f1e34ce975eed8c74a4c3fb9b0f5ab3a108.tar.bz2
ChibiOS-745c0f1e34ce975eed8c74a4c3fb9b0f5ab3a108.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9478 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/STM32L4xx/SPI-L3GD20/halconf.h7
-rw-r--r--testhal/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h6
2 files changed, 13 insertions, 0 deletions
diff --git a/testhal/STM32/STM32L4xx/SPI-L3GD20/halconf.h b/testhal/STM32/STM32L4xx/SPI-L3GD20/halconf.h
index 37466c5c2..5ab199774 100644
--- a/testhal/STM32/STM32L4xx/SPI-L3GD20/halconf.h
+++ b/testhal/STM32/STM32L4xx/SPI-L3GD20/halconf.h
@@ -115,6 +115,13 @@
#endif
/**
+ * @brief Enables the QSPI subsystem.
+ */
+#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__)
+#define HAL_USE_QSPI TRUE
+#endif
+
+/**
* @brief Enables the RTC subsystem.
*/
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
diff --git a/testhal/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h b/testhal/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h
index 2a9757571..4b99a9ce4 100644
--- a/testhal/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h
+++ b/testhal/STM32/STM32L4xx/SPI-L3GD20/mcuconf.h
@@ -229,6 +229,12 @@
#define STM32_PWM_TIM8_IRQ_PRIORITY 7
/*
+ * QSPI driver system settings.
+ */
+#define STM32_QSPI_USE_QUADSPI1 TRUE
+#define STM32_QSPI_QUADSPI1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
+
+/*
* SDC driver system settings.
*/
#define STM32_SDC_USE_SDMMC1 FALSE