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:
commit
5d5897c309
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user