Skip to content
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

Increased the stack memory for the microbit board because of stack overflow #3339

Merged
merged 2 commits into from
Dec 5, 2022

Conversation

JADarius
Copy link
Contributor

Pull Request Overview

On the microbit v2 board, the command process n caused a stack overflow which panics the kernel. This pull request fixes the stack memory needed for the Process Console on the microbit board. The value was obtained by slowly incrementing the stack memory until the command process n didn't cause a stack overflow so that it would be the minimum necessary.
I have attached the output of the command.

Testing Strategy

This pull request was tested by running the process command on a microbit v2 board with a blink module from the libtock-c examples installed and by modifying the value of the memory until the stack overflow was removed.

TODO or Help Wanted

This pull request still needs some testing on other microbit boards to be sure that the kernel panic wasn't caused by faulty equipment.

Documentation Updated

  • No updates are required.

Formatting

  • Ran make prepush.

@lschuermann
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 5, 2022

@bors bors bot merged commit b59ac82 into tock:master Dec 5, 2022
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.

None yet

5 participants