diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-05 11:45:26 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-05 11:45:26 +0000 |
commit | bb5acac94d079e107f8faa4bb6b2e5d1389c40d4 (patch) | |
tree | 541f2ddb756844458a632eb3dcfb311e28b5fc95 /src/templates | |
parent | 64e5a24e28d6746dc78c1784a474bccf784a272d (diff) | |
download | ChibiOS-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.h | 9 |
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
|