aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/hal.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-09 09:41:52 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-09 09:41:52 +0000
commit98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f (patch)
treee2181fa6d214da5b59d1e6ff7372a1117e62f84c /os/hal/src/hal.c
parentab8cbd8f7c824a3311c1878157e8b6d7721e470d (diff)
downloadChibiOS-98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f.tar.gz
ChibiOS-98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f.tar.bz2
ChibiOS-98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f.zip
New TRNG driver model added to HAL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12253 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/src/hal.c')
-rw-r--r--os/hal/src/hal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/src/hal.c b/os/hal/src/hal.c
index 42b926619..87788ff6a 100644
--- a/os/hal/src/hal.c
+++ b/os/hal/src/hal.c
@@ -113,6 +113,9 @@ void halInit(void) {
#if (HAL_USE_SPI == TRUE) || defined(__DOXYGEN__)
spiInit();
#endif
+#if (HAL_USE_TRNG == TRUE) || defined(__DOXYGEN__)
+ trngInit();
+#endif
#if (HAL_USE_UART == TRUE) || defined(__DOXYGEN__)
uartInit();
#endif