File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 34
34
35
35
#define OS_STACK_SIZE MBED_CONF_APP_THREAD_STACK_SIZE
36
36
37
- #define OS_TIMER_THREAD_STACK_SIZE 768
38
- #ifndef OS_IDLE_THREAD_STACK_SIZE
39
- #define OS_IDLE_THREAD_STACK_SIZE 512
37
+ /** The timer thread's stack size can be configured by the application, if not explicitly specified, it'll default to 768 */
38
+ #ifndef MBED_CONF_APP_TIMER_THREAD_STACK_SIZE
39
+ #define MBED_CONF_APP_TIMER_THREAD_STACK_SIZE 768
40
40
#endif
41
41
42
+ #define OS_TIMER_THREAD_STACK_SIZE MBED_CONF_APP_TIMER_THREAD_STACK_SIZE
43
+
44
+ /** The idle thread's stack size can be configured by the application, if not explicitly specified, it'll default to 512 */
45
+ #ifndef MBED_CONF_APP_IDLE_THREAD_STACK_SIZE
46
+ #define MBED_CONF_APP_IDLE_THREAD_STACK_SIZE 512
47
+ #endif
48
+
49
+ #define OS_IDLE_THREAD_STACK_SIZE MBED_CONF_APP_IDLE_THREAD_STACK_SIZE
50
+
42
51
#define OS_DYNAMIC_MEM_SIZE 0
43
52
44
53
#if defined(OS_TICK_FREQ ) && (OS_TICK_FREQ != 1000 )
You can’t perform that action at this time.
0 commit comments