Skip to content

Commit df9ddc5

Browse files
jhirsirlubos
authored andcommitted
samples: dect_phy: dect_shell: increased main stack
Doubled main stack size to avoid stack overflow when using CONFIG_NRF_MODEM_LIB_TRACE. Jira: MOSH-626 Signed-off-by: Jani Hirsimäki <[email protected]>
1 parent 368db38 commit df9ddc5

File tree

1 file changed

+3
-1
lines changed
  • samples/dect/dect_phy/dect_shell

1 file changed

+3
-1
lines changed

samples/dect/dect_phy/dect_shell/prj.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ CONFIG_AT_SHELL=y
1515
# -h and --help options are handled in Dect Shell
1616
CONFIG_SHELL_HELP_OPT_PARSE=n
1717
CONFIG_SHELL_CMD_BUFF_SIZE=1024
18-
# Shell stack has impact for DECT shell application, not CONFIG_MAIN_STACK_SIZE
18+
# Shell stack has most impact for DECT shell application, not CONFIG_MAIN_STACK_SIZE
1919
CONFIG_SHELL_STACK_SIZE=9216
20+
# Main stack size need to be increased due to CONFIG_NRF_MODEM_LIB_TRACE
21+
CONFIG_MAIN_STACK_SIZE=2048
2022

2123
# Shell RX buffer needs to be increased to avoid problems with test automation
2224
CONFIG_SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE=512

0 commit comments

Comments
 (0)