From https://docs.zephyrproject.org/latest/develop/optimizations/footprint.html , there are 5 stack size needed to be adjusted. How to decide these sizes on ncs v2.4.2?
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CONFIG_ISR_STACK_SIZE
Set to 2048 by default
CONFIG_MAIN_STACK_SIZE
Set to 1024 by default
CONFIG_IDLE_STACK_SIZE
Set to 320 by default
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE
Set to 1024 by default
CONFIG_PRIVILEGED_STACK_SIZE
Set to 1024 by default, depends on userspace feature.