[rtems commit] bsp/lpc24xx: Declare conditionally

Sebastian Huber sebh at rtems.org
Mon Jan 7 15:03:42 UTC 2013


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jan  7 16:00:52 2013 +0100

bsp/lpc24xx: Declare conditionally

---

 .../lib/libbsp/arm/lpc24xx/include/start-config.h  |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/start-config.h b/c/src/lib/libbsp/arm/lpc24xx/include/start-config.h
index 9d6173f..64f653a 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/start-config.h
+++ b/c/src/lib/libbsp/arm/lpc24xx/include/start-config.h
@@ -104,12 +104,16 @@ extern BSP_START_DATA_SECTION const lpc24xx_emc_static_chip_config
 extern BSP_START_DATA_SECTION const size_t
   lpc24xx_start_config_emc_static_chip_count;
 
+#ifdef ARM_MULTILIB_ARCH_V7M
+
 extern BSP_START_DATA_SECTION const ARMV7M_MPU_Region
   lpc24xx_start_config_mpu_region [];
 
 extern BSP_START_DATA_SECTION const size_t
   lpc24xx_start_config_mpu_region_count;
 
+#endif /* ARM_MULTILIB_ARCH_V7M */
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */




More information about the vc mailing list