ext: hal: stm32cube: allow HAL/LL files to be selected via Kconfig

By providing USE_STM32_HAL_* and USE_STM32_LL_* menuconfig
options drivers and user aplications can select parts of the HAL
without needing to change the Zephyr source code.

Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
Erwin Rol 2017-10-31 11:44:40 +01:00 committed by Kumar Gala
parent d187da4922
commit 772ac20336
8 changed files with 940 additions and 46 deletions

View file

@ -25,13 +25,7 @@ if(CONFIG_SOC_SERIES_STM32F0X)
stm32f0xx/drivers/include/Legacy
)
zephyr_sources(stm32f0xx/drivers/src/stm32f0xx_hal.c)
zephyr_sources(stm32f0xx/drivers/src/stm32f0xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_CLOCK_CONTROL_STM32_CUBE stm32f0xx/drivers/src/stm32f0xx_ll_utils.c)
zephyr_sources_ifdef(CONFIG_I2C_STM32_V2 stm32f0xx/drivers/src/stm32f0xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_I2C_STM32_V2 stm32f0xx/drivers/src/stm32f0xx_ll_rcc.c)
zephyr_sources_ifdef(CONFIG_SPI_STM32 stm32f0xx/drivers/src/stm32f0xx_ll_spi.c)
zephyr_sources(stm32f0xx/soc/system_stm32f0xx.c)
add_subdirectory(stm32f0xx)
endif()
if(CONFIG_SOC_SERIES_STM32F1X)
@ -41,12 +35,7 @@ if(CONFIG_SOC_SERIES_STM32F1X)
stm32f1xx/drivers/include/Legacy
)
zephyr_sources(stm32f1xx/drivers/src/stm32f1xx_hal.c)
zephyr_sources(stm32f1xx/drivers/src/stm32f1xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_CLOCK_CONTROL_STM32_CUBE stm32f1xx/drivers/src/stm32f1xx_ll_utils.c)
zephyr_sources_ifdef(CONFIG_PWM stm32f1xx/drivers/src/stm32f1xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_I2C stm32f1xx/drivers/src/stm32f1xx_ll_i2c.c)
zephyr_sources(stm32f1xx/soc/system_stm32f1xx.c)
add_subdirectory(stm32f1xx)
endif()
if(CONFIG_SOC_SERIES_STM32F3X)
@ -56,17 +45,9 @@ if(CONFIG_SOC_SERIES_STM32F3X)
stm32f3xx/drivers/include/Legacy
)
zephyr_sources(stm32f3xx/drivers/src/stm32f3xx_hal.c)
zephyr_sources(stm32f3xx/drivers/src/stm32f3xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_CLOCK_CONTROL_STM32_CUBE stm32f3xx/drivers/src/stm32f3xx_ll_utils.c)
zephyr_sources_ifdef(CONFIG_SPI_STM32 stm32f3xx/drivers/src/stm32f3xx_ll_spi.c)
zephyr_sources_ifdef(CONFIG_I2C stm32f3xx/drivers/src/stm32f3xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_I2C stm32f3xx/drivers/src/stm32f3xx_ll_rcc.c)
zephyr_sources(stm32f3xx/soc/system_stm32f3xx.c)
add_subdirectory(stm32f3xx)
endif()
if(CONFIG_SOC_SERIES_STM32F4X)
zephyr_include_directories(
stm32f4xx/soc
@ -74,21 +55,7 @@ if(CONFIG_SOC_SERIES_STM32F4X)
stm32f4xx/drivers/include/Legacy
)
zephyr_sources(stm32f4xx/drivers/src/stm32f4xx_hal.c)
zephyr_sources(stm32f4xx/drivers/src/stm32f4xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_CLOCK_CONTROL_STM32_CUBE stm32f4xx/drivers/src/stm32f4xx_ll_utils.c)
zephyr_sources_ifdef(CONFIG_PWM stm32f4xx/drivers/src/stm32f4xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_I2C stm32f4xx/drivers/src/stm32f4xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_SPI_STM32 stm32f4xx/drivers/src/stm32f4xx_ll_spi.c)
zephyr_sources_ifdef(CONFIG_ENTROPY_STM32_RNG stm32f4xx/drivers/src/stm32f4xx_ll_rng.c)
zephyr_sources_ifdef(CONFIG_ETH_STM32_HAL stm32f4xx/drivers/src/stm32f4xx_hal_eth.c)
zephyr_sources_ifdef(CONFIG_USB_DC_STM32
stm32f4xx/drivers/src/stm32f4xx_ll_usb.c
stm32f4xx/drivers/src/stm32f4xx_hal_pcd.c
stm32f4xx/drivers/src/stm32f4xx_hal_pcd_ex.c
)
zephyr_sources(stm32f4xx/soc/system_stm32f4xx.c)
add_subdirectory(stm32f4xx)
endif()
if(CONFIG_SOC_SERIES_STM32F7X)
@ -98,8 +65,7 @@ if(CONFIG_SOC_SERIES_STM32F7X)
stm32f7xx/drivers/include/Legacy
)
zephyr_sources(stm32f7xx/drivers/src/stm32f7xx_hal.c)
zephyr_sources(stm32f7xx/soc/system_stm32f7xx.c)
add_subdirectory(stm32f7xx)
endif()
if(CONFIG_SOC_SERIES_STM32L4X)
@ -108,12 +74,7 @@ if(CONFIG_SOC_SERIES_STM32L4X)
stm32l4xx/drivers/include
stm32l4xx/drivers/include/Legacy
)
zephyr_sources(stm32l4xx/drivers/src/stm32l4xx_hal.c)
zephyr_sources(stm32l4xx/drivers/src/stm32l4xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_CLOCK_CONTROL_STM32_CUBE stm32l4xx/drivers/src/stm32l4xx_ll_utils.c)
zephyr_sources_ifdef(CONFIG_PWM stm32l4xx/drivers/src/stm32l4xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_I2C stm32l4xx/drivers/src/stm32l4xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_SPI_STM32 stm32l4xx/drivers/src/stm32l4xx_ll_spi.c)
zephyr_sources(stm32l4xx/soc/system_stm32l4xx.c)
add_subdirectory(stm32l4xx)
endif()

View file

@ -8,3 +8,460 @@ config HAS_STM32CUBE
bool
select HAS_CMSIS
depends on SOC_FAMILY_STM32
if HAS_STM32CUBE
config USE_STM32_HAL_ADC
bool
default n
config USE_STM32_HAL_ADC_EX
bool
default n
config USE_STM32_HAL_CAN
bool
default n
config USE_STM32_HAL_CEC
bool
default n
config USE_STM32_HAL_COMP
bool
default n
config USE_STM32_HAL_CORTEX
bool
default n
config USE_STM32_HAL_CRC
bool
default n
config USE_STM32_HAL_CRC_EX
bool
default n
config USE_STM32_HAL_CRYPT
bool
default n
config USE_STM32_HAL_CRYPT_EX
bool
default n
config USE_STM32_HAL_DAC
bool
default n
config USE_STM32_HAL_DAC_EX
bool
default n
config USE_STM32_HAL_DCMI
bool
default n
config USE_STM32_HAL_DCMI_EX
bool
default n
config USE_STM32_HAL_DFSDM
bool
default n
config USE_STM32_HAL_DFSDM_EX
bool
default n
config USE_STM32_HAL_DMA
bool
default n
config USE_STM32_HAL_DMA2D
bool
default n
config USE_STM32_HAL_DMA_EX
bool
default n
config USE_STM32_HAL_DSI
bool
default n
config USE_STM32_HAL_ETH
bool
default n
config USE_STM32_HAL_FIREWALL
bool
default n
config USE_STM32_HAL_FLASH
bool
default n
config USE_STM32_HAL_FLASH_EX
bool
default n
config USE_STM32_HAL_FLASH_RAMFUNC
bool
default n
config USE_STM32_HAL_FMPI2C
bool
default n
config USE_STM32_HAL_FMPI2C_EX
bool
default n
config USE_STM32_HAL_GFXMMU
bool
default n
config USE_STM32_HAL_GPIO
bool
default n
config USE_STM32_HAL_GPIO_EX
bool
default n
config USE_STM32_HAL_HASH
bool
default n
config USE_STM32_HAL_HASH_EX
bool
default n
config USE_STM32_HAL_HCD
bool
default n
config USE_STM32_HAL_HRTIM
bool
default n
config USE_STM32_HAL_I2C
bool
default n
config USE_STM32_HAL_I2C_EX
bool
default n
config USE_STM32_HAL_I2S
bool
default n
config USE_STM32_HAL_I2S_EX
bool
default n
config USE_STM32_HAL_IRDA
bool
default n
config USE_STM32_HAL_IWDG
bool
default n
config USE_STM32_HAL_JPEG
bool
default n
config USE_STM32_HAL_LCD
bool
default n
config USE_STM32_HAL_LPTIM
bool
default n
config USE_STM32_HAL_LTDC
bool
default n
config USE_STM32_HAL_LTDC_EX
bool
default n
config USE_STM32_HAL_MDIOS
bool
default n
config USE_STM32_HAL_MMC
bool
default n
config USE_STM32_HAL_NAND
bool
default n
config USE_STM32_HAL_NOR
bool
default n
config USE_STM32_HAL_OPAMP
bool
default n
config USE_STM32_HAL_OPAMP_EX
bool
default n
config USE_STM32_HAL_OSPI
bool
default n
config USE_STM32_HAL_PCCARD
bool
default n
config USE_STM32_HAL_PCD
bool
default n
config USE_STM32_HAL_PCD_EX
bool
default n
config USE_STM32_HAL_PWR
bool
default n
config USE_STM32_HAL_PWR_EX
bool
default n
config USE_STM32_HAL_QSPI
bool
default n
config USE_STM32_HAL_RCC
bool
default n
config USE_STM32_HAL_RCC_EX
bool
default n
config USE_STM32_HAL_RNG
bool
default n
config USE_STM32_HAL_RTC
bool
default n
config USE_STM32_HAL_RTC_EX
bool
default n
config USE_STM32_HAL_SAI
bool
default n
config USE_STM32_HAL_SAI_EX
bool
default n
config USE_STM32_HAL_SD
bool
default n
config USE_STM32_HAL_SDADC
bool
default n
config USE_STM32_HAL_SD_EX
bool
default n
config USE_STM32_HAL_SDRAM
bool
default n
config USE_STM32_HAL_SMARTCARD
bool
default n
config USE_STM32_HAL_SMARTCARD_EX
bool
default n
config USE_STM32_HAL_SMBUS
bool
default n
config USE_STM32_HAL_SPDIFRX
bool
default n
config USE_STM32_HAL_SPI
bool
default n
config USE_STM32_HAL_SPI_EX
bool
default n
config USE_STM32_HAL_SRAM
bool
default n
config USE_STM32_HAL_SWPMI
bool
default n
config USE_STM32_HAL_TIM
bool
default n
config USE_STM32_HAL_TIME_EX
bool
default n
config USE_STM32_HAL_TIM_EX
bool
default n
config USE_STM32_HAL_TSC
bool
default n
config USE_STM32_HAL_UART
bool
default n
config USE_STM32_HAL_UART_EX
bool
default n
config USE_STM32_HAL_USART
bool
default n
config USE_STM32_HAL_USART_EX
bool
default n
config USE_STM32_HAL_WWDG
bool
default n
config USE_STM32_LL_ADC
bool
default n
config USE_STM32_LL_COMP
bool
default n
config USE_STM32_LL_CRC
bool
default n
config USE_STM32_LL_CRS
bool
default n
config USE_STM32_LL_DAC
bool
default n
config USE_STM32_LL_DMA
bool
default n
config USE_STM32_LL_DMA2D
bool
default n
config USE_STM32_LL_EXTI
bool
default n
config USE_STM32_LL_FMC
bool
default n
config USE_STM32_LL_FSMC
bool
default n
config USE_STM32_LL_GPIO
bool
default n
config USE_STM32_LL_HRTIM
bool
default n
config USE_STM32_LL_I2C
bool
default n
config USE_STM32_LL_LPTIM
bool
default n
config USE_STM32_LL_LPUART
bool
default n
config USE_STM32_LL_OPAMP
bool
default n
config USE_STM32_LL_PWR
bool
default n
config USE_STM32_LL_RCC
bool
default n
config USE_STM32_LL_RNG
bool
default n
config USE_STM32_LL_RTC
bool
default n
config USE_STM32_LL_SDMMC
bool
default n
config USE_STM32_LL_SPI
bool
default n
config USE_STM32_LL_SWPMI
bool
default n
config USE_STM32_LL_TIM
bool
default n
config USE_STM32_LL_USART
bool
default n
config USE_STM32_LL_USB
bool
default n
config USE_STM32_LL_UTILS
bool
default n
endif

View file

@ -0,0 +1,62 @@
# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
#
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(soc/system_stm32f0xx.c)
zephyr_sources(drivers/src/stm32f0xx_hal.c)
zephyr_sources(drivers/src/stm32f0xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32f0xx_hal_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32f0xx_hal_adc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CAN drivers/src/stm32f0xx_hal_can.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CEC drivers/src/stm32f0xx_hal_cec.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_COMP drivers/src/stm32f0xx_hal_comp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32f0xx_hal_cortex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32f0xx_hal_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32f0xx_hal_crc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32f0xx_hal_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32f0xx_hal_dac_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32f0xx_hal_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32f0xx_hal_flash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32f0xx_hal_flash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32f0xx_hal_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32f0xx_hal_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32f0xx_hal_i2c_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2S drivers/src/stm32f0xx_hal_i2s.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32f0xx_hal_irda.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32f0xx_hal_iwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32f0xx_hal_pcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32f0xx_hal_pcd_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32f0xx_hal_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32f0xx_hal_pwr_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RCC_EX drivers/src/stm32f0xx_hal_rcc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32f0xx_hal_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32f0xx_hal_rtc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32f0xx_hal_smartcard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32f0xx_hal_smartcard_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32f0xx_hal_smbus.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32f0xx_hal_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32f0xx_hal_spi_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32f0xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIME_EX drivers/src/stm32f0xx_hal_tim_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TSC drivers/src/stm32f0xx_hal_tsc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32f0xx_hal_uart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART_EX drivers/src/stm32f0xx_hal_uart_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32f0xx_hal_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32f0xx_hal_wwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32f0xx_ll_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_COMP drivers/src/stm32f0xx_ll_comp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32f0xx_ll_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_CRS drivers/src/stm32f0xx_ll_crs.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32f0xx_ll_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32f0xx_ll_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32f0xx_ll_exti.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32f0xx_ll_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32f0xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32f0xx_ll_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32f0xx_ll_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32f0xx_ll_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32f0xx_ll_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32f0xx_ll_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32f0xx_ll_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32f0xx_ll_utils.c)

View file

@ -0,0 +1,63 @@
# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
#
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(soc/system_stm32f1xx.c)
zephyr_sources(drivers/src/stm32f1xx_hal.c)
zephyr_sources(drivers/src/stm32f1xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32f1xx_hal_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32f1xx_hal_adc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CAN drivers/src/stm32f1xx_hal_can.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CEC drivers/src/stm32f1xx_hal_cec.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32f1xx_hal_cortex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32f1xx_hal_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32f1xx_hal_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32f1xx_hal_dac_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32f1xx_hal_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ETH drivers/src/stm32f1xx_hal_eth.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32f1xx_hal_flash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32f1xx_hal_flash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32f1xx_hal_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO_EX drivers/src/stm32f1xx_hal_gpio_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HCD drivers/src/stm32f1xx_hal_hcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32f1xx_hal_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2S drivers/src/stm32f1xx_hal_i2s.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32f1xx_hal_irda.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32f1xx_hal_iwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_MMC drivers/src/stm32f1xx_hal_mmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NAND drivers/src/stm32f1xx_hal_nand.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NOR drivers/src/stm32f1xx_hal_nor.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCCARD drivers/src/stm32f1xx_hal_pccard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32f1xx_hal_pcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32f1xx_hal_pcd_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32f1xx_hal_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RCC_EX drivers/src/stm32f1xx_hal_rcc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32f1xx_hal_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32f1xx_hal_rtc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32f1xx_hal_sd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32f1xx_hal_smartcard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32f1xx_hal_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32f1xx_hal_spi_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SRAM drivers/src/stm32f1xx_hal_sram.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32f1xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32f1xx_hal_tim_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32f1xx_hal_uart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32f1xx_hal_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32f1xx_hal_wwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32f1xx_ll_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32f1xx_ll_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32f1xx_ll_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32f1xx_ll_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32f1xx_ll_exti.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_FSMC drivers/src/stm32f1xx_ll_fsmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32f1xx_ll_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32f1xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32f1xx_ll_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32f1xx_ll_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32f1xx_ll_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SDMMC drivers/src/stm32f1xx_ll_sdmmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32f1xx_ll_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32f1xx_ll_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32f1xx_ll_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USB drivers/src/stm32f1xx_ll_usb.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32f1xx_ll_utils.c)

View file

@ -0,0 +1,72 @@
# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
#
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(soc/system_stm32f3xx.c)
zephyr_sources(drivers/src/stm32f3xx_hal.c)
zephyr_sources(drivers/src/stm32f3xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32f3xx_hal_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32f3xx_hal_adc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CAN drivers/src/stm32f3xx_hal_can.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CEC drivers/src/stm32f3xx_hal_cec.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_COMP drivers/src/stm32f3xx_hal_comp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32f3xx_hal_cortex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32f3xx_hal_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32f3xx_hal_crc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32f3xx_hal_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32f3xx_hal_dac_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32f3xx_hal_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32f3xx_hal_flash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32f3xx_hal_flash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32f3xx_hal_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HRTIM drivers/src/stm32f3xx_hal_hrtim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32f3xx_hal_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32f3xx_hal_i2c_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2S drivers/src/stm32f3xx_hal_i2s.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2S_EX drivers/src/stm32f3xx_hal_i2s_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32f3xx_hal_irda.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32f3xx_hal_iwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NAND drivers/src/stm32f3xx_hal_nand.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NOR drivers/src/stm32f3xx_hal_nor.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP drivers/src/stm32f3xx_hal_opamp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP_EX drivers/src/stm32f3xx_hal_opamp_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCCARD drivers/src/stm32f3xx_hal_pccard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32f3xx_hal_pcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32f3xx_hal_pcd_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32f3xx_hal_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32f3xx_hal_pwr_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RCC_EX drivers/src/stm32f3xx_hal_rcc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32f3xx_hal_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32f3xx_hal_rtc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SDADC drivers/src/stm32f3xx_hal_sdadc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32f3xx_hal_smartcard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32f3xx_hal_smartcard_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32f3xx_hal_smbus.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32f3xx_hal_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32f3xx_hal_spi_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SRAM drivers/src/stm32f3xx_hal_sram.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32f3xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32f3xx_hal_tim_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TSC drivers/src/stm32f3xx_hal_tsc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32f3xx_hal_uart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART_EX drivers/src/stm32f3xx_hal_uart_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32f3xx_hal_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32f3xx_hal_wwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32f3xx_ll_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_COMP drivers/src/stm32f3xx_ll_comp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32f3xx_ll_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32f3xx_ll_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32f3xx_ll_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32f3xx_ll_exti.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_FMC drivers/src/stm32f3xx_ll_fmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32f3xx_ll_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_HRTIM drivers/src/stm32f3xx_ll_hrtim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32f3xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_OPAMP drivers/src/stm32f3xx_ll_opamp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32f3xx_ll_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32f3xx_ll_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32f3xx_ll_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32f3xx_ll_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32f3xx_ll_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32f3xx_ll_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32f3xx_ll_utils.c)

View file

@ -0,0 +1,90 @@
# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
#
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(soc/system_stm32f4xx.c)
zephyr_sources(drivers/src/stm32f4xx_hal.c)
zephyr_sources(drivers/src/stm32f4xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32f4xx_hal_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32f4xx_hal_adc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CAN drivers/src/stm32f4xx_hal_can.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CEC drivers/src/stm32f4xx_hal_cec.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32f4xx_hal_cortex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32f4xx_hal_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRYPT drivers/src/stm32f4xx_hal_cryp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRYPT_EX drivers/src/stm32f4xx_hal_cryp_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32f4xx_hal_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32f4xx_hal_dac_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DCMI drivers/src/stm32f4xx_hal_dcmi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DCMI_EX drivers/src/stm32f4xx_hal_dcmi_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM drivers/src/stm32f4xx_hal_dfsdm.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32f4xx_hal_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA2D drivers/src/stm32f4xx_hal_dma2d.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA_EX drivers/src/stm32f4xx_hal_dma_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DSI drivers/src/stm32f4xx_hal_dsi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ETH drivers/src/stm32f4xx_hal_eth.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32f4xx_hal_flash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32f4xx_hal_flash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_RAMFUNC drivers/src/stm32f4xx_hal_flash_ramfunc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FMPI2C drivers/src/stm32f4xx_hal_fmpi2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FMPI2C_EX drivers/src/stm32f4xx_hal_fmpi2c_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32f4xx_hal_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HASH drivers/src/stm32f4xx_hal_hash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HASH_EX drivers/src/stm32f4xx_hal_hash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HCD drivers/src/stm32f4xx_hal_hcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32f4xx_hal_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32f4xx_hal_i2c_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2S drivers/src/stm32f4xx_hal_i2s.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2S_EX drivers/src/stm32f4xx_hal_i2s_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32f4xx_hal_irda.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32f4xx_hal_iwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32f4xx_hal_lptim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LTDC drivers/src/stm32f4xx_hal_ltdc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LTDC_EX drivers/src/stm32f4xx_hal_ltdc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_MMC drivers/src/stm32f4xx_hal_mmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NAND drivers/src/stm32f4xx_hal_nand.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NOR drivers/src/stm32f4xx_hal_nor.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCCARD drivers/src/stm32f4xx_hal_pccard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32f4xx_hal_pcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32f4xx_hal_pcd_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32f4xx_hal_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32f4xx_hal_pwr_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_QSPI drivers/src/stm32f4xx_hal_qspi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RCC_EX drivers/src/stm32f4xx_hal_rcc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RNG drivers/src/stm32f4xx_hal_rng.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32f4xx_hal_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32f4xx_hal_rtc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32f4xx_hal_sai.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32f4xx_hal_sai_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32f4xx_hal_sd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SDRAM drivers/src/stm32f4xx_hal_sdram.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32f4xx_hal_smartcard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPDIFRX drivers/src/stm32f4xx_hal_spdifrx.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32f4xx_hal_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SRAM drivers/src/stm32f4xx_hal_sram.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32f4xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32f4xx_hal_tim_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32f4xx_hal_uart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32f4xx_hal_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32f4xx_hal_wwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32f4xx_ll_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32f4xx_ll_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32f4xx_ll_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32f4xx_ll_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA2D drivers/src/stm32f4xx_ll_dma2d.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32f4xx_ll_exti.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_FMC drivers/src/stm32f4xx_ll_fmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_FSMC drivers/src/stm32f4xx_ll_fsmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32f4xx_ll_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32f4xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_LPTIM drivers/src/stm32f4xx_ll_lptim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32f4xx_ll_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32f4xx_ll_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RNG drivers/src/stm32f4xx_ll_rng.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32f4xx_ll_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SDMMC drivers/src/stm32f4xx_ll_sdmmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32f4xx_ll_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32f4xx_ll_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32f4xx_ll_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USB drivers/src/stm32f4xx_ll_usb.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32f4xx_ll_utils.c)

View file

@ -0,0 +1,89 @@
# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
#
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(soc/system_stm32f7xx.c)
zephyr_sources(drivers/src/stm32f7xx_hal.c)
zephyr_sources(drivers/src/stm32f7xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32f7xx_hal_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32f7xx_hal_adc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CAN drivers/src/stm32f7xx_hal_can.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CEC drivers/src/stm32f7xx_hal_cec.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32f7xx_hal_cortex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32f7xx_hal_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32f7xx_hal_crc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRYPT drivers/src/stm32f7xx_hal_cryp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRYPT_EX drivers/src/stm32f7xx_hal_cryp_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32f7xx_hal_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32f7xx_hal_dac_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DCMI drivers/src/stm32f7xx_hal_dcmi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DCMI_EX drivers/src/stm32f7xx_hal_dcmi_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM drivers/src/stm32f7xx_hal_dfsdm.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32f7xx_hal_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA2D drivers/src/stm32f7xx_hal_dma2d.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA_EX drivers/src/stm32f7xx_hal_dma_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DSI drivers/src/stm32f7xx_hal_dsi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ETH drivers/src/stm32f7xx_hal_eth.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32f7xx_hal_flash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32f7xx_hal_flash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32f7xx_hal_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HASH drivers/src/stm32f7xx_hal_hash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HASH_EX drivers/src/stm32f7xx_hal_hash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HCD drivers/src/stm32f7xx_hal_hcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32f7xx_hal_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32f7xx_hal_i2c_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2S drivers/src/stm32f7xx_hal_i2s.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32f7xx_hal_irda.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32f7xx_hal_iwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_JPEG drivers/src/stm32f7xx_hal_jpeg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32f7xx_hal_lptim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LTDC drivers/src/stm32f7xx_hal_ltdc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LTDC_EX drivers/src/stm32f7xx_hal_ltdc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_MDIOS drivers/src/stm32f7xx_hal_mdios.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_MMC drivers/src/stm32f7xx_hal_mmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NAND drivers/src/stm32f7xx_hal_nand.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NOR drivers/src/stm32f7xx_hal_nor.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32f7xx_hal_pcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32f7xx_hal_pcd_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32f7xx_hal_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32f7xx_hal_pwr_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_QSPI drivers/src/stm32f7xx_hal_qspi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RCC_EX drivers/src/stm32f7xx_hal_rcc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RNG drivers/src/stm32f7xx_hal_rng.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32f7xx_hal_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32f7xx_hal_rtc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32f7xx_hal_sai.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32f7xx_hal_sai_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32f7xx_hal_sd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SDRAM drivers/src/stm32f7xx_hal_sdram.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32f7xx_hal_smartcard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32f7xx_hal_smartcard_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32f7xx_hal_smbus.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPDIFRX drivers/src/stm32f7xx_hal_spdifrx.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32f7xx_hal_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SRAM drivers/src/stm32f7xx_hal_sram.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32f7xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32f7xx_hal_tim_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32f7xx_hal_uart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32f7xx_hal_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32f7xx_hal_wwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32f7xx_ll_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32f7xx_ll_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32f7xx_ll_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32f7xx_ll_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA2D drivers/src/stm32f7xx_ll_dma2d.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32f7xx_ll_exti.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_FMC drivers/src/stm32f7xx_ll_fmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32f7xx_ll_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32f7xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_LPTIM drivers/src/stm32f7xx_ll_lptim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32f7xx_ll_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32f7xx_ll_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RNG drivers/src/stm32f7xx_ll_rng.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32f7xx_ll_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SDMMC drivers/src/stm32f7xx_ll_sdmmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32f7xx_ll_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32f7xx_ll_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32f7xx_ll_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USB drivers/src/stm32f7xx_ll_usb.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32f7xx_ll_utils.c)

View file

@ -0,0 +1,100 @@
# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
#
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(soc/system_stm32l4xx.c)
zephyr_sources(drivers/src/stm32l4xx_hal.c)
zephyr_sources(drivers/src/stm32l4xx_hal_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32l4xx_hal_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32l4xx_hal_adc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CAN drivers/src/stm32l4xx_hal_can.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_COMP drivers/src/stm32l4xx_hal_comp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32l4xx_hal_cortex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32l4xx_hal_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32l4xx_hal_crc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRYPT drivers/src/stm32l4xx_hal_cryp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_CRYPT_EX drivers/src/stm32l4xx_hal_cryp_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32l4xx_hal_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32l4xx_hal_dac_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DCMI drivers/src/stm32l4xx_hal_dcmi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM drivers/src/stm32l4xx_hal_dfsdm.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM_EX drivers/src/stm32l4xx_hal_dfsdm_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32l4xx_hal_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA2D drivers/src/stm32l4xx_hal_dma2d.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DMA_EX drivers/src/stm32l4xx_hal_dma_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_DSI drivers/src/stm32l4xx_hal_dsi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FIREWALL drivers/src/stm32l4xx_hal_firewall.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32l4xx_hal_flash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32l4xx_hal_flash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_RAMFUNC drivers/src/stm32l4xx_hal_flash_ramfunc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GFXMMU drivers/src/stm32l4xx_hal_gfxmmu.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32l4xx_hal_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HASH drivers/src/stm32l4xx_hal_hash.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HASH_EX drivers/src/stm32l4xx_hal_hash_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_HCD drivers/src/stm32l4xx_hal_hcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32l4xx_hal_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32l4xx_hal_i2c_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32l4xx_hal_irda.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32l4xx_hal_iwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LCD drivers/src/stm32l4xx_hal_lcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32l4xx_hal_lptim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LTDC drivers/src/stm32l4xx_hal_ltdc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_LTDC_EX drivers/src/stm32l4xx_hal_ltdc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NAND drivers/src/stm32l4xx_hal_nand.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_NOR drivers/src/stm32l4xx_hal_nor.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP drivers/src/stm32l4xx_hal_opamp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP_EX drivers/src/stm32l4xx_hal_opamp_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_OSPI drivers/src/stm32l4xx_hal_ospi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32l4xx_hal_pcd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32l4xx_hal_pcd_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32l4xx_hal_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32l4xx_hal_pwr_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_QSPI drivers/src/stm32l4xx_hal_qspi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RCC_EX drivers/src/stm32l4xx_hal_rcc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RNG drivers/src/stm32l4xx_hal_rng.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32l4xx_hal_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32l4xx_hal_rtc_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32l4xx_hal_sai.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32l4xx_hal_sai_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32l4xx_hal_sd.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SD_EX drivers/src/stm32l4xx_hal_sd_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32l4xx_hal_smartcard.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32l4xx_hal_smartcard_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32l4xx_hal_smbus.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32l4xx_hal_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32l4xx_hal_spi_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SRAM drivers/src/stm32l4xx_hal_sram.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_SWPMI drivers/src/stm32l4xx_hal_swpmi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32l4xx_hal_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32l4xx_hal_tim_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_TSC drivers/src/stm32l4xx_hal_tsc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32l4xx_hal_uart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_UART_EX drivers/src/stm32l4xx_hal_uart_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32l4xx_hal_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_USART_EX drivers/src/stm32l4xx_hal_usart_ex.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32l4xx_hal_wwdg.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32l4xx_ll_adc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_COMP drivers/src/stm32l4xx_ll_comp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32l4xx_ll_crc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_CRS drivers/src/stm32l4xx_ll_crs.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32l4xx_ll_dac.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32l4xx_ll_dma.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_DMA2D drivers/src/stm32l4xx_ll_dma2d.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32l4xx_ll_exti.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_FMC drivers/src/stm32l4xx_ll_fmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32l4xx_ll_gpio.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32l4xx_ll_i2c.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_LPTIM drivers/src/stm32l4xx_ll_lptim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_LPUART drivers/src/stm32l4xx_ll_lpuart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_OPAMP drivers/src/stm32l4xx_ll_opamp.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32l4xx_ll_pwr.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32l4xx_ll_rcc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RNG drivers/src/stm32l4xx_ll_rng.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32l4xx_ll_rtc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SDMMC drivers/src/stm32l4xx_ll_sdmmc.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32l4xx_ll_spi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_SWPMI drivers/src/stm32l4xx_ll_swpmi.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32l4xx_ll_tim.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32l4xx_ll_usart.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_USB drivers/src/stm32l4xx_ll_usb.c)
zephyr_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32l4xx_ll_utils.c)