drivers/interrupt_controller: stm32: Use LL API
exti driver implementation does not fit all SoCs because some EXTI ip does not match stm32_exti register map provided. Instead of providing exti register map for all SoCs, use LL API which abstracts IP variations and enable uniform use of the drivers on all STM32SoCs. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
e11314a21f
commit
a985e03349
9 changed files with 87 additions and 49 deletions
|
@ -30,6 +30,10 @@
|
|||
*/
|
||||
#include <kernel_includes.h>
|
||||
|
||||
#ifdef CONFIG_EXTI_STM32
|
||||
#include <stm32l4xx_ll_exti.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_GPIO_STM32
|
||||
/* Required to enable VDDio2 for port G */
|
||||
#include <stm32l4xx_ll_pwr.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue