aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal.h
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/include/hal.h
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/include/hal.h')
-rw-r--r--os/hal/include/hal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/include/hal.h b/os/hal/include/hal.h
index b464fdcda..4b2ba597c 100644
--- a/os/hal/include/hal.h
+++ b/os/hal/include/hal.h
@@ -98,6 +98,10 @@
#define HAL_USE_SPI FALSE
#endif
+#if !defined(HAL_USE_TRNG)
+#define HAL_USE_TRNG FALSE
+#endif
+
#if !defined(HAL_USE_UART)
#define HAL_USE_UART FALSE
#endif
@@ -147,6 +151,7 @@
#include "hal_serial.h"
#include "hal_sdc.h"
#include "hal_spi.h"
+#include "hal_trng.h"
#include "hal_uart.h"
#include "hal_usb.h"
#include "hal_wdg.h"