summaryrefslogtreecommitdiffstats
path: root/bsps/arm
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-04 12:04:55 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-04 12:04:55 +0200
commit98fc60145c723933c60d4e6faef66ad757092207 (patch)
tree67a7801d378fa419f1f2a3f46b07a034e7b01ce6 /bsps/arm
parentbsps/powerpc: Adjust ppcboot.lds (diff)
downloadrtems-98fc60145c723933c60d4e6faef66ad757092207.tar.bz2
bsp/lpc24xx: Fix LPC24XX_IO_PORT_COUNT
Diffstat (limited to 'bsps/arm')
-rw-r--r--bsps/arm/lpc24xx/include/bsp/io.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bsps/arm/lpc24xx/include/bsp/io.h b/bsps/arm/lpc24xx/include/bsp/io.h
index 07c5d51afd..97700d58bc 100644
--- a/bsps/arm/lpc24xx/include/bsp/io.h
+++ b/bsps/arm/lpc24xx/include/bsp/io.h
@@ -41,7 +41,11 @@ extern "C" {
* @{
*/
-#define LPC24XX_IO_PORT_COUNT 5U
+#ifdef ARM_MULTILIB_ARCH_V7M
+ #define LPC24XX_IO_PORT_COUNT 6U
+#else
+ #define LPC24XX_IO_PORT_COUNT 5U
+#endif
#define LPC24XX_IO_INDEX_MAX (LPC24XX_IO_PORT_COUNT * 32U)