Skip to content

Commit dccb45e

Browse files
trantanenrlubos
authored andcommitted
samples: cellular: slm_shell: Increase some stacks and enable asserts
Increase CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE and CONFIG_SHELL_STACK_SIZE. Enable asserts. Also add configuration without defining CONFIG_MODEM_SLM_INDICATE_PIN to sample.yaml. Signed-off-by: Tommi Rantanen <[email protected]>
1 parent 7ab3515 commit dccb45e

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

samples/cellular/slm_shell/prj.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
CONFIG_STACK_SENTINEL=y
88
CONFIG_MAIN_STACK_SIZE=4096
99
CONFIG_HEAP_MEM_POOL_SIZE=8192
10+
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
1011

1112
CONFIG_LOG=y
1213
CONFIG_LOG_BACKEND_UART=y
@@ -16,7 +17,7 @@ CONFIG_SHELL=y
1617
CONFIG_SHELL_WILDCARD=n
1718
CONFIG_SHELL_ARGC_MAX=40
1819
CONFIG_SHELL_CMD_BUFF_SIZE=1024
19-
CONFIG_SHELL_STACK_SIZE=1024
20+
CONFIG_SHELL_STACK_SIZE=2048
2021
CONFIG_SHELL_LOG_BACKEND=n
2122

2223
CONFIG_SERIAL=y
@@ -25,3 +26,5 @@ CONFIG_UART_ASYNC_API=y
2526
CONFIG_MODEM_SLM=y
2627
CONFIG_MODEM_SLM_SHELL=y
2728
CONFIG_MODEM_SLM_LOG_LEVEL_INF=y
29+
30+
CONFIG_ASSERT=y

samples/cellular/slm_shell/sample.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,27 @@ tests:
55
sample.cellular.slm_shell:
66
sysbuild: true
77
build_only: true
8-
integration_platforms:
8+
platform_allow:
99
- nrf52840dk/nrf52840
1010
- nrf5340dk/nrf5340/cpuapp
1111
- nrf7002dk/nrf5340/cpuapp
12+
integration_platforms:
13+
- nrf5340dk/nrf5340/cpuapp
14+
tags:
15+
- ci_build
16+
- sysbuild
17+
- ci_samples_cellular
18+
sample.cellular.slm_shell.no_indicate_pin:
19+
sysbuild: true
20+
build_only: true
21+
extra_configs:
22+
- CONFIG_MODEM_SLM_INDICATE_PIN=-1
1223
platform_allow:
1324
- nrf52840dk/nrf52840
1425
- nrf5340dk/nrf5340/cpuapp
1526
- nrf7002dk/nrf5340/cpuapp
27+
integration_platforms:
28+
- nrf5340dk/nrf5340/cpuapp
1629
tags:
1730
- ci_build
1831
- sysbuild

0 commit comments

Comments
 (0)