Skip to content

Commit 8267015

Browse files
nordic-krchnordic-piks
authored andcommitted
tests: benchmark: power_consumption: Increase stack size
Fix stack overflow. Current stack usage on nrf54lm20 is 552. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent d6c5af6 commit 8267015

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • tests/benchmarks/power_consumption/common

tests/benchmarks/power_consumption/common/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ __weak bool self_suspend_req(void)
2222
return false;
2323
}
2424

25-
K_THREAD_DEFINE(thread_id, 500, thread_definition, NULL, NULL, NULL,
26-
5, 0, 0);
25+
K_THREAD_DEFINE(thread_id, 1024, thread_definition, NULL, NULL, NULL, 5, 0, 0);
2726

2827
void timer_handler(struct k_timer *dummy)
2928
{

0 commit comments

Comments
 (0)