mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 21:16:23 +08:00
atsam: Use normal memory for DTCM
Avoids problems with unaligned data access.
This commit is contained in:
committed by
Sebastian Huber
parent
84008f9e43
commit
c51e6d915c
@@ -138,6 +138,7 @@ void _SetupMemoryRegion(void)
|
||||
|
||||
dwRegionAttr =
|
||||
MPU_AP_PRIVILEGED_READ_WRITE |
|
||||
INNER_NORMAL_NOCACHE_TYPE(NON_SHAREABLE) |
|
||||
MPU_CalMPURegionSize(DTCM_END_ADDRESS - DTCM_START_ADDRESS) |
|
||||
MPU_REGION_ENABLE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user