File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 45
45
#error "no toolchain defined"
46
46
#endif
47
47
48
+ #if defined(TARGET_NANO100 )
49
+ #ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
50
+ #undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
51
+ #endif
52
+ #define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
53
+ #endif
54
+
48
55
#endif // TARGET_NUVOTON
49
56
50
57
#endif // MBED_MBED_RTX_H
Original file line number Diff line number Diff line change @@ -137,4 +137,11 @@ extern uint32_t __HeapLimit[];
137
137
#define ISR_STACK_SIZE ((uint32_t)((uint32_t)__StackTop - (uint32_t)__StackLimit))
138
138
#endif
139
139
140
+ #if (defined(TARGET_STM32F070RB ) || defined(TARGET_STM32F072RB ))
141
+ #ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
142
+ #undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
143
+ #endif
144
+ #define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
145
+ #endif
146
+
140
147
#endif // MBED_MBED_RTX_H
Original file line number Diff line number Diff line change 22
22
#ifndef INITIAL_SP
23
23
#define INITIAL_SP (0x20004000UL)
24
24
#endif
25
+ #ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
26
+ #undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
27
+ #endif
28
+ #define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
25
29
26
30
#endif
27
31
30
34
#ifndef INITIAL_SP
31
35
#define INITIAL_SP (0x20080000UL)
32
36
#endif
37
+ #ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
38
+ #undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
39
+ #endif
40
+ #define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
33
41
34
42
#endif
35
43
You can’t perform that action at this time.
0 commit comments