summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc43xx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-21 11:03:38 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-21 11:03:38 -0600
commit61d8a57e974548c1c7ef65e9546976053f6c5a9e (patch)
tree3fd21b720c1b5da5cc29775428b86d25ecf68a31 /nuttx/arch/arm/src/lpc43xx
parentedd6a69500e41872b60c0a50697392227b688653 (diff)
downloadnuttx-61d8a57e974548c1c7ef65e9546976053f6c5a9e.tar.gz
nuttx-61d8a57e974548c1c7ef65e9546976053f6c5a9e.tar.bz2
nuttx-61d8a57e974548c1c7ef65e9546976053f6c5a9e.zip
Beginning of high priority nested interrupt support for the ARMv7-M family
Diffstat (limited to 'nuttx/arch/arm/src/lpc43xx')
-rw-r--r--nuttx/arch/arm/src/lpc43xx/lpc43_irq.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c b/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c
index fb316e0d2..779a9c50c 100644
--- a/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c
+++ b/nuttx/arch/arm/src/lpc43xx/lpc43_irq.c
@@ -513,14 +513,8 @@ int up_prioritize_irq(int irq, int priority)
uint32_t regval;
int shift;
-#ifdef CONFIG_ARMV7M_USEBASEPRI
- DEBUGASSERT(irq >= LPC43_IRQ_MEMFAULT && irq < NR_IRQS &&
- priority >= NVIC_SYSH_DISABLE_PRIORITY &&
- priority <= NVIC_SYSH_PRIORITY_MIN);
-#else
DEBUGASSERT(irq >= LPC43_IRQ_MEMFAULT && irq < NR_IRQS &&
- (unsigned)priority <= NVIC_SYSH_PRIORITY_MIN);
-#endif
+ (unsigned)priority <= NVIC_SYSH_PRIORITY_MIN);
if (irq < LPC43_IRQ_EXTINT)
{