diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-12 09:43:27 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-12 09:43:27 +0000 |
commit | 6c90d27a46cfeb8970eec2cf9d41729202d0e40b (patch) | |
tree | 75c38e7256a44bdbaeb3d11c1d5e9ca78c08c09b /demos/rt | |
parent | 1033792b73022cbf5a7ef741313ae18592306251 (diff) | |
download | ChibiOS-6c90d27a46cfeb8970eec2cf9d41729202d0e40b.tar.gz ChibiOS-6c90d27a46cfeb8970eec2cf9d41729202d0e40b.tar.bz2 ChibiOS-6c90d27a46cfeb8970eec2cf9d41729202d0e40b.zip |
Preparation to recursive mutexes, now unlock primitives have the mutex as parameter.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6706 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/rt')
-rw-r--r-- | demos/rt/RT-STM32F303-DISCOVERY/chconf.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/rt/RT-STM32F303-DISCOVERY/chconf.h b/demos/rt/RT-STM32F303-DISCOVERY/chconf.h index 8a2d5efa1..491c2dfdd 100644 --- a/demos/rt/RT-STM32F303-DISCOVERY/chconf.h +++ b/demos/rt/RT-STM32F303-DISCOVERY/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 TRUE
+
+/**
* @brief Conditional Variables APIs.
* @details If enabled then the conditional variables APIs are included
* in the kernel.
|