diff options
Diffstat (limited to 'nuttx/arch/arm/src/lm3s')
-rw-r--r-- | nuttx/arch/arm/src/lm3s/lm3s_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lm3s/lm3s_irq.c b/nuttx/arch/arm/src/lm3s/lm3s_irq.c index 915ce3d13..b026a8303 100644 --- a/nuttx/arch/arm/src/lm3s/lm3s_irq.c +++ b/nuttx/arch/arm/src/lm3s/lm3s_irq.c @@ -320,7 +320,7 @@ void up_irqinitialize(void) * Fault handler. */ -#ifdef CONFIG_CORTEXM3_MPU +#ifdef CONFIG_ARMV7M_MPU irq_attach(LM3S_IRQ_MEMFAULT, up_memfault); up_enable_irq(LM3S_IRQ_MEMFAULT); #endif @@ -329,7 +329,7 @@ void up_irqinitialize(void) #ifdef CONFIG_DEBUG irq_attach(LM3S_IRQ_NMI, lm3s_nmi); -#ifndef CONFIG_CORTEXM3_MPU +#ifndef CONFIG_ARMV7M_MPU irq_attach(LM3S_IRQ_MEMFAULT, up_memfault); #endif irq_attach(LM3S_IRQ_BUSFAULT, lm3s_busfault); |