ARM-software / CMSIS_5

CMSIS Version 5 Development Repository
http://arm-software.github.io/CMSIS_5/index.html
Apache License 2.0
1.32k stars 1.08k forks source link

Issues with new ARMv8 MPU attributes #1634

Open kjbracey opened 1 year ago

kjbracey commented 1 year ago

I just noticed the new MPU_ATTR_NORMAL_OUTER_NON_CACHEABLE etc defines.

A few issues with these, in descending order of importance:

And as an aside, just for anyone happening to search and end up here - it's not specified anywhere what the "transient" flags of the default memory map are. Apparently the default regions are transient in the M55, which surprised me.

JonatanAntoni commented 1 year ago

Would you mind raising a PR with your proposed changes? Perhaps switch over to ARM-software/CMSIS6 and we leave it unchanged here. Adding `ARM` prefix might be a good idea but would break backward compatibility.