Skip to content
Permalink
Browse files

drivers/interrupt_controller: stm32: Add support for stm32h7

Add bare minimum to enable EXTI on STM32H7,
in single core configuration.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information...
erwango authored and nashif committed Jul 1, 2019
1 parent 2805ea9 commit 80278f7a4825aed30090b83b164e69648e498d80
Showing with 6 additions and 0 deletions.
  1. +2 −0 drivers/interrupt_controller/exti_stm32.c
  2. +4 −0 soc/arm/st_stm32/stm32h7/soc.h
@@ -30,6 +30,7 @@ const IRQn_Type exti_irq_table[] = {
EXTI4_15_IRQn, EXTI4_15_IRQn, EXTI4_15_IRQn, EXTI4_15_IRQn
};
#elif defined(CONFIG_SOC_SERIES_STM32F1X) || \
defined(CONFIG_SOC_SERIES_STM32H7X) || \
defined(CONFIG_SOC_SERIES_STM32L1X) || \
defined(CONFIG_SOC_SERIES_STM32L4X) || \
defined(CONFIG_SOC_SERIES_STM32WBX)
@@ -426,6 +427,7 @@ static void __stm32_exti_connect_irqs(struct device *dev)
defined(CONFIG_SOC_SERIES_STM32F3X) || \
defined(CONFIG_SOC_SERIES_STM32F4X) || \
defined(CONFIG_SOC_SERIES_STM32F7X) || \
defined(CONFIG_SOC_SERIES_STM32H7X) || \
defined(CONFIG_SOC_SERIES_STM32L1X) || \
defined(CONFIG_SOC_SERIES_STM32L4X) || \
defined(CONFIG_SOC_SERIES_STM32MP1X) || \
@@ -24,6 +24,10 @@
#include <stm32h7xx_ll_system.h>
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */

#ifdef CONFIG_EXTI_STM32
#include <stm32h7xx_ll_exti.h>
#endif /* CONFIG_EXTI_STM32 */

#endif /* !_ASMLANGUAGE */

#endif /* _STM32F7_SOC_H7_ */

0 comments on commit 80278f7

Please sign in to comment.
You can’t perform that action at this time.