aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-09 09:47:37 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-09 09:47:37 +0000
commit2bf81e9703389333a85037b8ee9d689891b7a92e (patch)
tree4b347be9ab48842fe71313f224df53c8ef54067d /tools
parent98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f (diff)
downloadChibiOS-2bf81e9703389333a85037b8ee9d689891b7a92e.tar.gz
ChibiOS-2bf81e9703389333a85037b8ee9d689891b7a92e.tar.bz2
ChibiOS-2bf81e9703389333a85037b8ee9d689891b7a92e.zip
Updated halconf generator.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12254 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'tools')
-rw-r--r--tools/ftl/processors/conf/halconf/halconf.h.ftl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ftl/processors/conf/halconf/halconf.h.ftl b/tools/ftl/processors/conf/halconf/halconf.h.ftl
index e7b9a610c..718f1c14e 100644
--- a/tools/ftl/processors/conf/halconf/halconf.h.ftl
+++ b/tools/ftl/processors/conf/halconf/halconf.h.ftl
@@ -178,6 +178,13 @@
#endif
/**
+ * @brief Enables the TRNG subsystem.
+ */
+#if !defined(HAL_USE_TRNG) || defined(__DOXYGEN__)
+#define HAL_USE_TRNG ${doc.HAL_USE_TRNG!"FALSE"}
+#endif
+
+/**
* @brief Enables the UART subsystem.
*/
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)