diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-29 12:12:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-29 12:12:53 +0000 |
commit | aa2eb80fdb2e4e3b6eedacb8426e40db255cbe68 (patch) | |
tree | 7cc283c18c713d234676ef3f0968baea61ffb8d3 /ports | |
parent | 796f13d4fa6befdf9e524306d764a3f1483ab8f1 (diff) | |
download | ChibiOS-aa2eb80fdb2e4e3b6eedacb8426e40db255cbe68.tar.gz ChibiOS-aa2eb80fdb2e4e3b6eedacb8426e40db255cbe68.tar.bz2 ChibiOS-aa2eb80fdb2e4e3b6eedacb8426e40db255cbe68.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@558 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/AVR/chcore.h | 4 | ||||
-rw-r--r-- | ports/MSP430/chcore.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h index 210b4c366..ddeaf33ef 100644 --- a/ports/AVR/chcore.h +++ b/ports/AVR/chcore.h @@ -104,7 +104,9 @@ typedef struct { tp->p_ctx.sp->pch = (int)threadstart; \
}
-#define INT_REQUIRED_STACK 8
+#ifndef INT_REQUIRED_STACK
+#define INT_REQUIRED_STACK 32
+#endif
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h index 996f88912..bf8e0d82d 100644 --- a/ports/MSP430/chcore.h +++ b/ports/MSP430/chcore.h @@ -81,7 +81,9 @@ typedef struct { #define IDLE_THREAD_STACK_SIZE 0
+#ifndef INT_REQUIRED_STACK
#define INT_REQUIRED_STACK 32
+#endif
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|