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

saml1x: Remove MPU feature #14806

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

bergzand
Copy link
Member

Contribution description

The MPU on the cortex-m23 has some differences with the MPU on the older
cortex-m devices. It is not implemented in the cortex-m MPU driver. This
removes the available feature as it gives a false sense of security by
advertising the feature, but implementing it with noop's

Testing procedure

applications on the saml1x should no longer crash :)

Issues/PRs references

see #14355

@bergzand bergzand added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Aug 20, 2020
@bergzand bergzand requested review from benpicco and kaspar030 August 20, 2020 11:59
@bergzand bergzand requested a review from dylad as a code owner August 20, 2020 11:59
Copy link
Contributor

@benpicco benpicco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yours has a nicer comment 😉

The MPU on the cortex-m23 has some differences with the MPU on the older
cortex-m devices. It is not implemented in the cortex-m MPU driver. This
removes the available feature as it gives a false sense of security by
advertising the feature, but implementing it with noop's
@bergzand bergzand force-pushed the pr/saml1x/disable_mpu_feature branch from 139a18b to 6fa2b44 Compare August 20, 2020 12:37
@bergzand
Copy link
Member Author

I've amended the commit to also remove the feature from the Kconfig file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants