[rtems commit] bsp/lpc24xx: LPC24XX_EMC_MT48LC4M16A2 MPU support

Sebastian Huber sebh at rtems.org
Wed May 8 11:13:06 UTC 2019


Module:    rtems
Branch:    master
Commit:    d49ff3e360337f650131aefe270c0418192ae9e5
Changeset: http://git.rtems.org/rtems/commit/?id=d49ff3e360337f650131aefe270c0418192ae9e5

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed May  8 13:02:04 2019 +0200

bsp/lpc24xx: LPC24XX_EMC_MT48LC4M16A2 MPU support

---

 bsps/arm/lpc24xx/start/start-config-mpu.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/bsps/arm/lpc24xx/start/start-config-mpu.c b/bsps/arm/lpc24xx/start/start-config-mpu.c
index 3dc3c48..8f0e49a 100644
--- a/bsps/arm/lpc24xx/start/start-config-mpu.c
+++ b/bsps/arm/lpc24xx/start/start-config-mpu.c
@@ -7,10 +7,10 @@
  */
 
 /*
- * Copyright (c) 2011-2012 embedded brains GmbH.  All rights reserved.
+ * Copyright (c) 2011, 2019 embedded brains GmbH.  All rights reserved.
  *
  *  embedded brains GmbH
- *  Obere Lagerstr. 30
+ *  Dornierstr. 4
  *  82178 Puchheim
  *  Germany
  *  <rtems at embedded-brains.de>
@@ -49,7 +49,11 @@
         ARMV7M_MPU_REGION_INITIALIZER(
           3,
           0xa0000000,
+#if defined(LPC24XX_EMC_MT48LC4M16A2)
+          ARMV7M_MPU_SIZE_8_MB,
+#else
           ARMV7M_MPU_SIZE_32_MB,
+#endif
           ARMV7M_MPU_ATTR_RWX
         ),
         ARMV7M_MPU_REGION_INITIALIZER(



More information about the vc mailing list