forked from Imagelibrary/rtems
bsp/lpc24xx: Fix LPC24XX_IO_PORT_COUNT
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user