bsp/lpc24xx: Fix LPC24XX_IO_PORT_COUNT

This commit is contained in:
Sebastian Huber
2019-06-04 12:04:55 +02:00
parent f419349a13
commit 98fc60145c

View File

@@ -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)