Commit 66d1877
committed
soc: st: stm32: stm32h7rs: enable mpu regions for SRAM1&2 access
Introduces two MPU regions for SRAM1 and SRAM2 with both 16KB size.
Both regions use REGION_RAM_ATTR to provide read/write access and
appropriate cacheability for SRAM-like memory.
The regions were previously missing from the MPU configuration,
causing the system to halt due to unauthorized access.
These additions resolve a Data Access Violation encountered during
test, where the faulting address was 0x30000000.
Signed-off-by: Fabrice DJIATSA <[email protected]>1 parent 1a06df6 commit 66d1877
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
0 commit comments