File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
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
- #ifndef OS_TIMER_THREAD_STACK_SIZE
38
- #define OS_TIMER_THREAD_STACK_SIZE 768
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
39
40
#endif
40
41
41
- #ifndef OS_IDLE_THREAD_STACK_SIZE
42
- #define OS_IDLE_THREAD_STACK_SIZE 512
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
43
47
#endif
44
48
49
+ #define OS_IDLE_THREAD_STACK_SIZE MBED_CONF_APP_IDLE_THREAD_STACK_SIZE
50
+
45
51
#define OS_DYNAMIC_MEM_SIZE 0
46
52
47
53
#if defined(OS_TICK_FREQ ) && (OS_TICK_FREQ != 1000 )
You can’t perform that action at this time.
0 commit comments