aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-05 11:45:26 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-05 11:45:26 +0000
commitbb5acac94d079e107f8faa4bb6b2e5d1389c40d4 (patch)
tree541f2ddb756844458a632eb3dcfb311e28b5fc95 /src/templates
parent64e5a24e28d6746dc78c1784a474bccf784a272d (diff)
downloadChibiOS-bb5acac94d079e107f8faa4bb6b2e5d1389c40d4.tar.gz
ChibiOS-bb5acac94d079e107f8faa4bb6b2e5d1389c40d4.tar.bz2
ChibiOS-bb5acac94d079e107f8faa4bb6b2e5d1389c40d4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@579 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/chconf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/templates/chconf.h b/src/templates/chconf.h
index a6071493b..005748b83 100644
--- a/src/templates/chconf.h
+++ b/src/templates/chconf.h
@@ -35,6 +35,15 @@
* that this is not related to the compiler optimization options.*/
#define CH_OPTIMIZE_SPEED
+/** Configuration option: If enabled then the used of nested @p chSysLock() /
+ * @p chSysUnlock() operations is allowed.<br>
+ * For performance and code size reasons the recommended setting is leave
+ * this option disabled.<br>
+ * You can use this option if you need to merge with ChibiOS/RT external
+ * libraries that require nested lock/unlock operations.
+ */
+#define CH_USE_NESTED_LOCKS
+
/** Configuration option: if specified then the kernel performs the round
* robin scheduling algorithm on threads of equal priority.*/
#define CH_USE_ROUNDROBIN