Skip to content

Commit 3d3171a

Browse files
samples: openthread: Fix stack overflow on nRF54LM20
There was too small stack size for main and shell threads set for nRF54LM20 in the OpenThread CLI sample. Signed-off-by: Arkadiusz Balys <[email protected]>
1 parent a8223b3 commit 3d3171a

File tree

5 files changed

+26
-0
lines changed

5 files changed

+26
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Increase Main and shell stack sizes to avoid stack overflow
8+
# while using CRACEN
9+
CONFIG_MAIN_STACK_SIZE=6144
10+
CONFIG_SHELL_STACK_SIZE=5120

samples/openthread/coprocessor/boards/nrf54l15dk_nrf54l05_cpuapp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
#
66

77
CONFIG_SPI_NOR=n
8+
9+
# Increase Main and shell stack sizes to avoid stack overflow
10+
# while using CRACEN
11+
CONFIG_MAIN_STACK_SIZE=2048

samples/openthread/coprocessor/boards/nrf54l15dk_nrf54l10_cpuapp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
#
66

77
CONFIG_SPI_NOR=n
8+
9+
# Increase Main and shell stack sizes to avoid stack overflow
10+
# while using CRACEN
11+
CONFIG_MAIN_STACK_SIZE=2048

samples/openthread/coprocessor/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
#
66

77
CONFIG_SPI_NOR=n
8+
9+
# Increase Main and shell stack sizes to avoid stack overflow
10+
# while using CRACEN
11+
CONFIG_MAIN_STACK_SIZE=2048

samples/openthread/coprocessor/boards/nrf54lm20dk_nrf54lm20a_cpuapp.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
#
66

77
CONFIG_SPI_NOR=n
8+
9+
# Increase Main and shell stack sizes to avoid stack overflow
10+
# while using CRACEN
11+
CONFIG_MAIN_STACK_SIZE=2048

0 commit comments

Comments
 (0)