diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-04 12:04:55 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-04 12:04:55 +0200 |
commit | 98fc60145c723933c60d4e6faef66ad757092207 (patch) | |
tree | 67a7801d378fa419f1f2a3f46b07a034e7b01ce6 /bsps | |
parent | bsps/powerpc: Adjust ppcboot.lds (diff) | |
download | rtems-98fc60145c723933c60d4e6faef66ad757092207.tar.bz2 |
bsp/lpc24xx: Fix LPC24XX_IO_PORT_COUNT
Diffstat (limited to 'bsps')
-rw-r--r-- | bsps/arm/lpc24xx/include/bsp/io.h | 6 |
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) |