drivers: iwdg: 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
c3c3073c95
commit
d73bfcbdc8
13 changed files with 3 additions and 48 deletions
|
@ -10,6 +10,9 @@
|
|||
|
||||
#include <drivers/watchdog.h>
|
||||
#include <soc.h>
|
||||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_iwdg.h>
|
||||
#include <stm32_ll_system.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "wdt_iwdg_stm32.h"
|
||||
|
|
|
@ -41,10 +41,6 @@
|
|||
#include <stm32f0xx_ll_pwr.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32f0xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32f0xx_ll_i2c.h>
|
||||
#endif
|
||||
|
|
|
@ -43,10 +43,6 @@
|
|||
#include <stm32f1xx_ll_spi.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32f1xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_GPIO_STM32
|
||||
#include <stm32f1xx_ll_gpio.h>
|
||||
#endif
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
#include <stm32f2xx_ll_gpio.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32f2xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_COUNTER_RTC_STM32)
|
||||
#include <stm32f2xx_ll_rtc.h>
|
||||
#include <stm32f2xx_ll_exti.h>
|
||||
|
|
|
@ -44,10 +44,6 @@
|
|||
#include <stm32f3xx_ll_spi.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32f3xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_COUNTER_RTC_STM32)
|
||||
#include <stm32f3xx_ll_rtc.h>
|
||||
#include <stm32f3xx_ll_exti.h>
|
||||
|
|
|
@ -50,10 +50,6 @@
|
|||
#include <stm32f4xx_ll_rng.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32f4xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_COUNTER_RTC_STM32)
|
||||
#include <stm32f4xx_ll_rtc.h>
|
||||
#include <stm32f4xx_ll_exti.h>
|
||||
|
|
|
@ -60,10 +60,6 @@
|
|||
#include <stm32f7xx_ll_gpio.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32f7xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32f7xx_ll_dma.h>
|
||||
#endif
|
||||
|
|
|
@ -47,10 +47,6 @@
|
|||
#include <stm32g0xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32g0xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HWINFO_STM32
|
||||
#include <stm32g0xx_ll_utils.h>
|
||||
#endif
|
||||
|
|
|
@ -51,10 +51,6 @@
|
|||
#include <stm32g4xx_ll_i2c.h>
|
||||
#endif /* CONFIG_I2C */
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32g4xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ENTROPY_STM32_RNG
|
||||
#include <stm32g4xx_ll_rng.h>
|
||||
#endif
|
||||
|
|
|
@ -53,10 +53,6 @@
|
|||
#include <stm32l0xx_ll_gpio.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32l0xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32l0xx_ll_dma.h>
|
||||
#endif
|
||||
|
|
|
@ -53,10 +53,6 @@
|
|||
#include <stm32l1xx_ll_spi.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32l1xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PWM_STM32
|
||||
#include <stm32l1xx_ll_tim.h>
|
||||
#endif /* CONFIG_PWM_STM32 */
|
||||
|
|
|
@ -49,10 +49,6 @@
|
|||
#include <stm32l4xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32l4xx_ll_iwdg.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ENTROPY_STM32_RNG
|
||||
#include <stm32l4xx_ll_rng.h>
|
||||
#endif
|
||||
|
|
|
@ -58,10 +58,6 @@
|
|||
#include <stm32wbxx_ll_spi.h>
|
||||
#endif /* CONFIG_SPI_STM32 */
|
||||
|
||||
#ifdef CONFIG_IWDG_STM32
|
||||
#include <stm32wbxx_ll_iwdg.h>
|
||||
#endif /* CONFIG_IWDG_STM32 */
|
||||
|
||||
#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