diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-10-07 07:58:29 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-10-07 07:58:29 +0000 |
commit | e72ef8c943b3a335fe4354e6451be99ab1346081 (patch) | |
tree | 7f3e178fe11465c79753666492605ee34f39aaec /testhal/STM32/multi/TRNG/cfg | |
parent | 644898df5f9771ad9308ed9abd7dee165a4b1268 (diff) | |
download | ChibiOS-e72ef8c943b3a335fe4354e6451be99ab1346081.tar.gz ChibiOS-e72ef8c943b3a335fe4354e6451be99ab1346081.tar.bz2 ChibiOS-e72ef8c943b3a335fe4354e6451be99ab1346081.zip |
STM32 TRNG driver, not tested yet.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12342 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/STM32/multi/TRNG/cfg')
-rw-r--r-- | testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/halconf.h | 4 | ||||
-rw-r--r-- | testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/mcuconf.h | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/halconf.h index 545a6a835..9323c4fe1 100644 --- a/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/halconf.h +++ b/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/halconf.h @@ -170,7 +170,7 @@ * @brief Enables the TRNG subsystem.
*/
#if !defined(HAL_USE_TRNG) || defined(__DOXYGEN__)
-#define HAL_USE_TRNG FALSE
+#define HAL_USE_TRNG TRUE
#endif
/**
@@ -198,7 +198,7 @@ * @brief Enables the WSPI subsystem.
*/
#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
-#define HAL_USE_WSPI TRUE
+#define HAL_USE_WSPI FALSE
#endif
/*===========================================================================*/
diff --git a/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/mcuconf.h b/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/mcuconf.h index 46e69ff34..cd98f46c5 100644 --- a/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/mcuconf.h +++ b/testhal/STM32/multi/TRNG/cfg/stm32l476_discovery/mcuconf.h @@ -278,6 +278,11 @@ #define STM32_ST_USE_TIMER 2
/*
+ * TRNG driver system settings.
+ */
+#define STM32_TRNG_USE_RNG1 TRUE
+
+/*
* UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
@@ -322,7 +327,7 @@ /*
* WSPI driver system settings.
*/
-#define STM32_WSPI_USE_QUADSPI1 TRUE
+#define STM32_WSPI_USE_QUADSPI1 FALSE
#define STM32_WSPI_QUADSPI1_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
#endif /* MCUCONF_H */
|