File tree 2 files changed +10
-5
lines changed
config/nrfconnect/chip-module
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -452,10 +452,10 @@ config SHELL_STACK_SIZE
452
452
default 2616 if CHIP_WIFI
453
453
454
454
config SHELL_MINIMAL
455
- default y
455
+ default y if !CHIP_MEMORY_PROFILING
456
456
457
457
config KERNEL_SHELL
458
- default n
458
+ default n if !CHIP_MEMORY_PROFILING
459
459
460
460
config SENSOR_SHELL
461
461
default n
@@ -482,7 +482,7 @@ config HWINFO_SHELL
482
482
default n
483
483
484
484
config OPENTHREAD_SHELL
485
- default n
485
+ default n if !CHIP_MEMORY_PROFILING
486
486
487
487
endif # SHELL
488
488
Original file line number Diff line number Diff line change @@ -75,15 +75,20 @@ endif # CHIP_SPI_NOR
75
75
76
76
config CHIP_MEMORY_PROFILING
77
77
bool "Enable features for tracking memory usage"
78
+ # Matter stack
78
79
select CHIP_STATISTICS
80
+ # Heap
79
81
select CHIP_MALLOC_SYS_HEAP_WATERMARKS_SUPPORT if CHIP_MALLOC_SYS_HEAP
82
+ select SYS_HEAP_RUNTIME_STATS if CHIP_MALLOC_SYS_HEAP
83
+ # Crypto
80
84
select MBEDTLS_MEMORY_DEBUG if !CHIP_CRYPTO_PSA
81
- select SYS_HEAP_RUNTIME_STATS if CHIP_MALLOC_SYS_HEAP
82
- select KERNEL_SHELL
85
+ # Network
83
86
select NET_STATISTICS
84
87
select NET_SHELL
85
88
select NET_BUF_POOL_USAGE
86
89
select OPENTHREAD_SHELL if !CHIP_WIFI
90
+ # Zephyr
91
+ select KERNEL_SHELL
87
92
help
88
93
Enables features for tracking memory usage in Matter.
89
94
You can’t perform that action at this time.
0 commit comments