From 6c90d27a46cfeb8970eec2cf9d41729202d0e40b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 12 Feb 2014 09:43:27 +0000 Subject: 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 --- demos/rt/RT-STM32F303-DISCOVERY/chconf.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'demos/rt') 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 @@ -183,6 +183,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 -- cgit v1.2.3