Skip to content

tests: add an MPU test that circumvents libc #497

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ppannuto
Copy link
Member

Untested.

Inspired by the recent MPU configuration bug, here is a MPU test that is 'bare metal', i.e. would not be saved by the implicit sbrk in Tock's libc startup. Note, that this specific test would not actually catch the issue — this currently provides coverage of everything that the app should access without fault. But the goal is to provide complete coverage of the 'good cases' and be easy to modify for specific test cases.

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.

1 participant