forked from Imagelibrary/rtems
bsp/atsam: Reserve one region for applications.
This allows a user to overwrite some MPU settings. That can for example be usefull for devices with special requirements that are connected to the external bus interface.
This commit is contained in:
@@ -55,6 +55,10 @@
|
|||||||
#define MPU_NOCACHE_SRAM_REGION (11)
|
#define MPU_NOCACHE_SRAM_REGION (11)
|
||||||
#endif
|
#endif
|
||||||
#define MPU_SYSTEM_REGION (12)
|
#define MPU_SYSTEM_REGION (12)
|
||||||
|
#ifdef __rtems__
|
||||||
|
/* Reserve the region with highest priority for user applications */
|
||||||
|
#define MPU_USER_DEFINED_REGION (15)
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
#define MPU_REGION_VALID (0x10)
|
#define MPU_REGION_VALID (0x10)
|
||||||
#define MPU_REGION_ENABLE (0x01)
|
#define MPU_REGION_ENABLE (0x01)
|
||||||
|
|||||||
Reference in New Issue
Block a user