Fork of official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.
Dependents: Final_Coffee_Roaster
Fork of mbed-rtos by
Diff: RTX_Conf_CM.c
- Revision:
- 3:4238c328365e
- Parent:
- 2:4629f61a197e
- Child:
- 4:70bd33086f56
--- a/RTX_Conf_CM.c Mon Jul 23 11:40:13 2012 +0000 +++ b/RTX_Conf_CM.c Mon Jul 23 15:39:12 2012 +0000 @@ -62,17 +62,16 @@ #endif // <o>Idle stack size [bytes] <64-4096:8><#/4> -// <i> Defines default stack size for threads. -// <i> Default: 200 +// <i> Defines default stack size for the Idle thread. #ifndef OS_IDLESTKSIZE #define OS_IDLESTKSIZE 128 #endif -// <o>Main Thread stack size [bytes] <64-4096:8><#/4> -// <i> Defines stack size for main thread. +// <o>Timer Thread stack size [bytes] <64-4096:8><#/4> +// <i> Defines stack size for Timer thread. // <i> Default: 200 -#ifndef OS_MAINSTKSIZE - #define OS_MAINSTKSIZE WORDS_STACK_SIZE +#ifndef OS_TIMERSTKSZ + #define OS_TIMERSTKSZ WORDS_STACK_SIZE #endif // <q>Check for stack overflow @@ -155,13 +154,6 @@ #define OS_TIMERPRIO 5 #endif -// <o>Timer Thread stack size [bytes] <64-4096:8><#/4> -// <i> Defines stack size for Timer thread. -// <i> Default: 200 -#ifndef OS_TIMERSTKSZ - #define OS_TIMERSTKSZ WORDS_STACK_SIZE -#endif - // <o>Timer Callback Queue size <1-32> // <i> Defines number of concurrent callbacks that will be queued. // <i> Default: 4