aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/templates/chconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/templates/chconf.h')
-rw-r--r--os/rt/templates/chconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/rt/templates/chconf.h b/os/rt/templates/chconf.h
index 8a2d5efa1..09b91db5c 100644
--- a/os/rt/templates/chconf.h
+++ b/os/rt/templates/chconf.h
@@ -184,6 +184,15 @@
#define CH_CFG_USE_MUTEXES TRUE
/**
+ * @brief Enables recursive behavior on mutexes.
+ * @note Recursive mutexes are heavier and have an increased
+ * memory footprint.
+ *
+ * @note The default is @p FALSE.
+ */
+#define CH_CFG_USE_MUTEXES_RECURSIVE FALSE
+
+/**
* @brief Conditional Variables APIs.
* @details If enabled then the conditional variables APIs are included
* in the kernel.