File tree 2 files changed +8
-5
lines changed
config/nrfconnect/chip-module
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,13 @@ config CHIP_LOG_FILE_NAME
163
163
config CHIP_MALLOC_SYS_HEAP
164
164
default y if !ARCH_POSIX
165
165
166
+ config CHIP_TASK_STACK_SIZE
167
+ int "The CHIP (Matter) thread stack size"
168
+ default 10240 if LTO
169
+ default 6144
170
+ help
171
+ Configures the stack size available for the CHIP (Matter) thread.
172
+
166
173
config CHIP_FACTORY_DATA
167
174
bool "Factory data provider"
168
175
select ZCBOR
Original file line number Diff line number Diff line change 175
175
#endif // CHIP_DEVICE_CONFIG_CHIP_TASK_PRIORITY
176
176
177
177
#ifndef CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE
178
- #if defined(CONFIG_LTO )
179
- #define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 10240
180
- #else
181
- #define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 6144
182
- #endif // CONFIG_LTO
178
+ #define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE CONFIG_CHIP_TASK_STACK_SIZE
183
179
#endif // CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE
184
180
185
181
#define CHIP_DEVICE_CONFIG_MAX_EVENT_QUEUE_SIZE 64
You can’t perform that action at this time.
0 commit comments