diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-06-22 16:55:30 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-06-22 16:55:30 +0000 |
commit | eb3f84b3a0f1677391333337a75f8c2a5d1e15e6 (patch) | |
tree | 0154fdfe73186e593cbb6006b58c22def85661bc /os/ports | |
parent | 8783391c5edad3d75de3b3a9b6c927fb451be984 (diff) | |
download | ChibiOS-eb3f84b3a0f1677391333337a75f8c2a5d1e15e6.tar.gz ChibiOS-eb3f84b3a0f1677391333337a75f8c2a5d1e15e6.tar.bz2 ChibiOS-eb3f84b3a0f1677391333337a75f8c2a5d1e15e6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2032 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports')
-rw-r--r-- | os/ports/GCC/ARMCMx/chcore_v7m.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/os/ports/GCC/ARMCMx/chcore_v7m.h b/os/ports/GCC/ARMCMx/chcore_v7m.h index 4f1e88a48..0c8abcd41 100644 --- a/os/ports/GCC/ARMCMx/chcore_v7m.h +++ b/os/ports/GCC/ARMCMx/chcore_v7m.h @@ -92,7 +92,8 @@ struct intctx { * the idle thread should take no more space than those reserved
* by @p INT_REQUIRED_STACK.
* @note In this port it is set to 4 because the idle thread does have
- * a stack frame when compiling without optimizations.
+ * a stack frame when compiling without optimizations. You may
+ * reduce this value to zero when compiling with optimizations.
*/
#ifndef IDLE_THREAD_STACK_SIZE
#define IDLE_THREAD_STACK_SIZE 4
@@ -105,10 +106,11 @@ struct intctx { * This value can be zero on those architecture where there is a
* separate interrupt stack and the stack space between @p intctx and
* @p extctx is known to be zero.
- * @note This port requires no extra stack space for interrupt handling.
+ * @note In this port it is set to 8 because the function
+ * @p chSchDoRescheduleI() has a stack frame.
*/
#ifndef INT_REQUIRED_STACK
-#define INT_REQUIRED_STACK 0
+#define INT_REQUIRED_STACK 8
#endif
/**
|