mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Merge pull request #41 from wingunder/wingunder_fix_compilation_bug_irq_f7_h7
Fixed a compilation error, with irq debugging for stm32f7 and stm32h7 archs.
This commit is contained in:
@@ -179,7 +179,6 @@
|
||||
#define STM32_IRQ_MDIOS (STM32_IRQ_FIRST + 109) /* 109: MDIO slave global interrupt */
|
||||
|
||||
#define STM32_IRQ_NEXTINTS 110
|
||||
#define STM32_IRQ_NIRQS (STM32_IRQ_FIRST + 110)
|
||||
|
||||
/* EXTI interrupts (Do not use IRQ numbers) */
|
||||
|
||||
|
||||
@@ -494,7 +494,7 @@ void up_irqinitialize(void)
|
||||
irq_attach(STM32_IRQ_RESERVED, stm32_reserved, NULL);
|
||||
#endif
|
||||
|
||||
stm32_dumpnvic("initial", STM32_IRQ_NIRQS);
|
||||
stm32_dumpnvic("initial", NR_IRQS);
|
||||
|
||||
/* If a debugger is connected, try to prevent it from catching hardfaults.
|
||||
* If CONFIG_ARMV7M_USEBASEPRI, no hardfaults are expected in normal
|
||||
|
||||
@@ -519,7 +519,7 @@ void up_irqinitialize(void)
|
||||
irq_attach(STM32_IRQ_RESERVED, stm32_reserved, NULL);
|
||||
#endif
|
||||
|
||||
stm32_dumpnvic("initial", STM32_IRQ_NIRQS);
|
||||
stm32_dumpnvic("initial", NR_IRQS);
|
||||
|
||||
/* If a debugger is connected, try to prevent it from catching hardfaults.
|
||||
* If CONFIG_ARMV7M_USEBASEPRI, no hardfaults are expected in normal
|
||||
|
||||
Reference in New Issue
Block a user