aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
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 fd7b869ac..e7b9a610c 100644
--- a/tools/ftl/processors/conf/halconf/halconf.h.ftl
+++ b/tools/ftl/processors/conf/halconf/halconf.h.ftl
@@ -249,6 +249,13 @@
#define CAN_USE_SLEEP_MODE ${doc.CAN_USE_SLEEP_MODE!"TRUE"}
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS ${doc.CAN_ENFORCE_USE_CALLBACKS!"FALSE"}
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/