mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
bsp/lpc24xx: Fix LPC24XX_IO_PORT_COUNT
This commit is contained in:
1 parent
f419349a13
commit
98fc60145c
1 file changed
+5
-1
@@ -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