Skip to content

nrf/boards: Increase stack to 6k for nRF51x22 boards with 32k RAM.#19207

Open
dpgeorge wants to merge 1 commit into
micropython:masterfrom
dpgeorge:nrf-increase-stack-nrf51-32k
Open

nrf/boards: Increase stack to 6k for nRF51x22 boards with 32k RAM.#19207
dpgeorge wants to merge 1 commit into
micropython:masterfrom
dpgeorge:nrf-increase-stack-nrf51-32k

Conversation

@dpgeorge
Copy link
Copy Markdown
Member

Summary

Increase the stack from 4k to 6k for PCA10028 and PCA10031 boards.

4k stack is not much and that causes some tests crash with a stack-overflow exception (eg extmod/vfs_userfs.py when run with --via-mpy). With the increased stack size there are no longer any tests that fail due to stack overflow on PCA10028.

Testing

PCA10028 and PCA10031 still build without error.

PCA10028 now passes more tests.

Generative AI

I did not use generative AI tools when creating this PR.

Increase the stack from 4k to 6k for PCA10028 and PCA10031 boards.

4k stack is not much and that causes some tests crash with a stack-overflow
exception (eg `extmod/vfs_userfs.py` when run with `--via-mpy`).  With the
increased stack size there are no longer any tests that fail due to stack
overflow on PCA10028.

Signed-off-by: Damien George <damien@micropython.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant