Skip to content

examples: set up MPU for all examples#107

Open
datdenkikniet wants to merge 3 commits into
masterfrom
example-mpu
Open

examples: set up MPU for all examples#107
datdenkikniet wants to merge 3 commits into
masterfrom
example-mpu

Conversation

@datdenkikniet

Copy link
Copy Markdown
Contributor

It seems that (part of) the problem in #105 could, in fact, be caching.

To prevent the examples from doing the same, we can set up the MPU to make all of the RAM used by the examples non-cacheable

@datdenkikniet

Copy link
Copy Markdown
Contributor Author

Have validated that this fixes the fact that the ip example won't run on an STM32F767, and it doesn't break running this on a cache-less chip (tested on an STM32F407).

It seems that (part of) the problem in #105 could,
in fact, be caching.

To prevent the examples from doing the same, we can
set up the MPU to make all RAM regions non-cacheable.
@datdenkikniet
datdenkikniet force-pushed the example-mpu branch 3 times, most recently from 7ea40c3 to ea79a8c Compare May 9, 2026 20:51
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