drivers: wwdg: stm32: use generic LL headers
Use generic LL headers instead of depending on soc.h. Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
parent
f31fa1e61e
commit
c3c3073c95
15 changed files with 3 additions and 56 deletions
|
@ -8,6 +8,9 @@
|
|||
|
||||
#include <drivers/watchdog.h>
|
||||
#include <soc.h>
|
||||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_wwdg.h>
|
||||
#include <stm32_ll_system.h>
|
||||
#include <errno.h>
|
||||
#include <sys/__assert.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
|
|
|
@ -45,10 +45,6 @@
|
|||
#include <stm32f0xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32f0xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32f0xx_ll_i2c.h>
|
||||
#endif
|
||||
|
|
|
@ -47,10 +47,6 @@
|
|||
#include <stm32f1xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32f1xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_GPIO_STM32
|
||||
#include <stm32f1xx_ll_gpio.h>
|
||||
#endif
|
||||
|
|
|
@ -42,10 +42,6 @@
|
|||
#include <stm32f2xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32f2xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_COUNTER_RTC_STM32)
|
||||
#include <stm32f2xx_ll_rtc.h>
|
||||
#include <stm32f2xx_ll_exti.h>
|
||||
|
|
|
@ -48,10 +48,6 @@
|
|||
#include <stm32f3xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32f3xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_COUNTER_RTC_STM32)
|
||||
#include <stm32f3xx_ll_rtc.h>
|
||||
#include <stm32f3xx_ll_exti.h>
|
||||
|
|
|
@ -54,10 +54,6 @@
|
|||
#include <stm32f4xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32f4xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_COUNTER_RTC_STM32)
|
||||
#include <stm32f4xx_ll_rtc.h>
|
||||
#include <stm32f4xx_ll_exti.h>
|
||||
|
|
|
@ -64,10 +64,6 @@
|
|||
#include <stm32f7xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32f7xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32f7xx_ll_dma.h>
|
||||
#endif
|
||||
|
|
|
@ -51,10 +51,6 @@
|
|||
#include <stm32g0xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32g0xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HWINFO_STM32
|
||||
#include <stm32g0xx_ll_utils.h>
|
||||
#endif
|
||||
|
|
|
@ -55,10 +55,6 @@
|
|||
#include <stm32g4xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32g4xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ENTROPY_STM32_RNG
|
||||
#include <stm32g4xx_ll_rng.h>
|
||||
#endif
|
||||
|
|
|
@ -46,10 +46,6 @@
|
|||
#include <stm32h7xx_ll_system.h>
|
||||
#endif /* CONFIG_GPIO_STM32 */
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32h7xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_HWINFO_STM32) || defined(CONFIG_CLOCK_CONTROL_STM32_CUBE)
|
||||
#include <stm32h7xx_ll_utils.h>
|
||||
#endif
|
||||
|
|
|
@ -57,10 +57,6 @@
|
|||
#include <stm32l0xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32l0xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32l0xx_ll_dma.h>
|
||||
#endif
|
||||
|
|
|
@ -57,10 +57,6 @@
|
|||
#include <stm32l1xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32l1xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PWM_STM32
|
||||
#include <stm32l1xx_ll_tim.h>
|
||||
#endif /* CONFIG_PWM_STM32 */
|
||||
|
|
|
@ -53,10 +53,6 @@
|
|||
#include <stm32l4xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32l4xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ENTROPY_STM32_RNG
|
||||
#include <stm32l4xx_ll_rng.h>
|
||||
#endif
|
||||
|
|
|
@ -52,10 +52,6 @@
|
|||
#include <stm32mp1xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32mp1xx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PWM_STM32
|
||||
#include <stm32mp1xx_ll_tim.h>
|
||||
#endif /* CONFIG_PWM_STM32 */
|
||||
|
|
|
@ -62,10 +62,6 @@
|
|||
#include <stm32wbxx_ll_iwdg.h>
|
||||
#endif /* CONFIG_IWDG_STM32 */
|
||||
|
||||
#ifdef CONFIG_WWDG_STM32
|
||||
#include <stm32wbxx_ll_wwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32_LPTIM_TIMER
|
||||
#include <stm32wbxx_ll_lptim.h>
|
||||
#include <stm32wbxx_ll_system.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue