Skip to content

[nrf fromtree] tests: spi: loopback: use CONFIG_ZTEST_STACK_SIZE for … #3011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

nordic-piks
Copy link
Contributor

…thread stacks

The spi_loopback test suite creates three internal threads. The stack sizes for these threads is hardcoded to 512, which is to little for some socs, namely the nrf54h20 cpuapp if pm device runtime is enabled. Instead, determine the stack sizes the same way ztest stack sizes are determined.

(cherry picked from commit 5163b8c)

…thread stacks

The spi_loopback test suite creates three internal threads. The
stack sizes for these threads is hardcoded to 512, which is to little
for some socs, namely the nrf54h20 cpuapp if pm device runtime is
enabled. Instead, determine the stack sizes the same way ztest
stack sizes are determined.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 5163b8c)
Copy link

sonarqubecloud bot commented Jul 1, 2025

@bjarki-andreasen bjarki-andreasen merged commit 9e4227e into nrfconnect:main Jul 1, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants