diff options
Diffstat (limited to 'nuttx/arch/arm/src/kl/chip/kl_memorymap.h')
-rw-r--r-- | nuttx/arch/arm/src/kl/chip/kl_memorymap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/kl/chip/kl_memorymap.h b/nuttx/arch/arm/src/kl/chip/kl_memorymap.h index 6978ae975..60e4542c7 100644 --- a/nuttx/arch/arm/src/kl/chip/kl_memorymap.h +++ b/nuttx/arch/arm/src/kl/chip/kl_memorymap.h @@ -65,7 +65,7 @@ /* 0x20100000 * -0x3fffffff Reserved */ # define KIP_AIPS_BASE 0x40000000 /* -0x4007ffff AIPS Peripherals */ /* 0x40080000 * -0x400fffff Reserved */ -# define KL_GPIO_BASE 0x400ff000 /* -0x400fffff General purpose input/output (GPIO) */ +# define KL_GPIO_BASE(n) (0x400ff000 + ((n) << 6)) /* 0x40100000 * -0x43ffffff Reserved */ # define KL_BME_BASE 0x44000000 /* -0x5fffffff Bit Manipulation Engine (BME) access * to AIPS Peripherals for slots 0-127 */ |