summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/lpc17_irq.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-05 21:57:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-05 21:57:49 +0000
commitdc0299c4649815ba8b5740fc8b211dad1d7bc3bd (patch)
treeaad85b8a93bf5ca1c243fb8ec154dd7c0e0ccd2e /nuttx/arch/arm/src/lpc17xx/lpc17_irq.c
parent8f0b435a518c39a6141bbf888aa4bcd879808d44 (diff)
downloadpx4-nuttx-dc0299c4649815ba8b5740fc8b211dad1d7bc3bd.tar.gz
px4-nuttx-dc0299c4649815ba8b5740fc8b211dad1d7bc3bd.tar.bz2
px4-nuttx-dc0299c4649815ba8b5740fc8b211dad1d7bc3bd.zip
Name change: Change Cortex-M3 naming to ARMv7-M naming so support Cortex-M4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3846 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_irq.c')
-rwxr-xr-xnuttx/arch/arm/src/lpc17xx/lpc17_irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_irq.c b/nuttx/arch/arm/src/lpc17xx/lpc17_irq.c
index cf3467833..577ec6747 100755
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_irq.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_irq.c
@@ -308,7 +308,7 @@ void up_irqinitialize(void)
* Fault handler.
*/
-#ifdef CONFIG_CORTEXM3_MPU
+#ifdef CONFIG_ARMV7M_MPU
irq_attach(LPC17_IRQ_MEMFAULT, up_memfault);
up_enable_irq(LPC17_IRQ_MEMFAULT);
#endif
@@ -317,7 +317,7 @@ void up_irqinitialize(void)
#ifdef CONFIG_DEBUG
irq_attach(LPC17_IRQ_NMI, lpc17_nmi);
-#ifndef CONFIG_CORTEXM3_MPU
+#ifndef CONFIG_ARMV7M_MPU
irq_attach(LPC17_IRQ_MEMFAULT, up_memfault);
#endif
irq_attach(LPC17_IRQ_BUSFAULT, lpc17_busfault);