diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-05-03 07:58:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-05-03 07:58:10 +0000 |
commit | 00048659135c11793ab98a20e4d6f79c08cd889b (patch) | |
tree | 5e329094c6ca2a822cc58fad10482e64d332816d /os/rt/ports | |
parent | a9472ba1a1f64e3ba4f56f5140d7839c3b066c25 (diff) | |
download | ChibiOS-00048659135c11793ab98a20e4d6f79c08cd889b.tar.gz ChibiOS-00048659135c11793ab98a20e4d6f79c08cd889b.tar.bz2 ChibiOS-00048659135c11793ab98a20e4d6f79c08cd889b.zip |
Fixed bug #494.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6907 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/ports')
-rw-r--r-- | os/rt/ports/ARMCMx/chcore_v6m.h | 4 | ||||
-rw-r--r-- | os/rt/ports/ARMCMx/chcore_v7m.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/os/rt/ports/ARMCMx/chcore_v6m.h b/os/rt/ports/ARMCMx/chcore_v6m.h index e70c9b61c..7e74df03f 100644 --- a/os/rt/ports/ARMCMx/chcore_v6m.h +++ b/os/rt/ports/ARMCMx/chcore_v6m.h @@ -103,13 +103,13 @@ * @brief Per-thread stack overhead for interrupts servicing.
* @details This constant is used in the calculation of the correct working
* area size.
- * @note In this port this value is conservatively set to 32 because the
+ * @note In this port this value is conservatively set to 64 because the
* function @p chSchDoReschedule() can have a stack frame, especially
* with compiler optimizations disabled. The value can be reduced
* when compiler optimizations are enabled.
*/
#if !defined(PORT_INT_REQUIRED_STACK)
-#define PORT_INT_REQUIRED_STACK 32
+#define PORT_INT_REQUIRED_STACK 64
#endif
/**
diff --git a/os/rt/ports/ARMCMx/chcore_v7m.h b/os/rt/ports/ARMCMx/chcore_v7m.h index 728b770e7..db8d71d92 100644 --- a/os/rt/ports/ARMCMx/chcore_v7m.h +++ b/os/rt/ports/ARMCMx/chcore_v7m.h @@ -104,13 +104,13 @@ * @brief Per-thread stack overhead for interrupts servicing.
* @details This constant is used in the calculation of the correct working
* area size.
- * @note In this port this value is conservatively set to 32 because the
+ * @note In this port this value is conservatively set to 64 because the
* function @p chSchDoReschedule() can have a stack frame, especially
* with compiler optimizations disabled. The value can be reduced
* when compiler optimizations are enabled.
*/
#if !defined(PORT_INT_REQUIRED_STACK) || defined(__DOXYGEN__)
-#define PORT_INT_REQUIRED_STACK 32
+#define PORT_INT_REQUIRED_STACK 64
#endif
/**
|