Skip to content

Commit 804134f

Browse files
bjarki-andreasenkartben
authored andcommitted
soc: nordic: nrf54h: increase default log stack size if CONFIG_PM=y
The default log process thread stack size needs to be increased to account for the recursion into resuming power domains, which may happen within char_out for some backends like uart. Signed-off-by: Bjarki Arge Andreasen <[email protected]>
1 parent f53c283 commit 804134f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

soc/nordic/nrf54h/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ if PM
4040
config PM_DEVICE
4141
default y
4242

43+
if LOG
44+
45+
config LOG_PROCESS_THREAD_STACK_SIZE
46+
default 1536
47+
48+
endif # LOG
49+
4350
endif # PM
4451

4552
if PM_DEVICE

0 commit comments

Comments
 (0)