1# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com> 2# Copyright (c) 2020 STMicroelectronics 3# 4# SPDX-License-Identifier: Apache-2.0 5 6zephyr_library_sources(soc/system_stm32l4xx.c) 7zephyr_library_sources(drivers/src/stm32l4xx_hal.c) 8zephyr_library_sources(drivers/src/stm32l4xx_hal_rcc.c) 9zephyr_library_sources(drivers/src/stm32l4xx_hal_rcc_ex.c) 10zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32l4xx_hal_adc.c) 11zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32l4xx_hal_adc_ex.c) 12zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CAN drivers/src/stm32l4xx_hal_can.c) 13zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_COMP drivers/src/stm32l4xx_hal_comp.c) 14zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32l4xx_hal_cortex.c) 15zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32l4xx_hal_crc.c) 16zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32l4xx_hal_crc_ex.c) 17zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRYP drivers/src/stm32l4xx_hal_cryp.c) 18zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRYP_EX drivers/src/stm32l4xx_hal_cryp_ex.c) 19zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32l4xx_hal_dac.c) 20zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32l4xx_hal_dac_ex.c) 21zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DCMI drivers/src/stm32l4xx_hal_dcmi.c) 22zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM drivers/src/stm32l4xx_hal_dfsdm.c) 23zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DFSDM_EX drivers/src/stm32l4xx_hal_dfsdm_ex.c) 24zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32l4xx_hal_dma.c) 25zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA2D drivers/src/stm32l4xx_hal_dma2d.c) 26zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA_EX drivers/src/stm32l4xx_hal_dma_ex.c) 27zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DSI drivers/src/stm32l4xx_hal_dsi.c) 28zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_EXTI drivers/src/stm32l4xx_hal_exti.c) 29zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FIREWALL drivers/src/stm32l4xx_hal_firewall.c) 30zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32l4xx_hal_flash.c) 31zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32l4xx_hal_flash_ex.c) 32zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_RAMFUNC drivers/src/stm32l4xx_hal_flash_ramfunc.c) 33zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_GFXMMU drivers/src/stm32l4xx_hal_gfxmmu.c) 34zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32l4xx_hal_gpio.c) 35zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HASH drivers/src/stm32l4xx_hal_hash.c) 36zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HASH_EX drivers/src/stm32l4xx_hal_hash_ex.c) 37zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HCD drivers/src/stm32l4xx_hal_hcd.c) 38zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32l4xx_hal_i2c.c) 39zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32l4xx_hal_i2c_ex.c) 40zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32l4xx_hal_irda.c) 41zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32l4xx_hal_iwdg.c) 42zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_LCD drivers/src/stm32l4xx_hal_lcd.c) 43zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32l4xx_hal_lptim.c) 44zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_LTDC drivers/src/stm32l4xx_hal_ltdc.c) 45zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_LTDC_EX drivers/src/stm32l4xx_hal_ltdc_ex.c) 46zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_MMC drivers/src/stm32l4xx_hal_mmc.c) 47zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_MMC_EX drivers/src/stm32l4xx_hal_mmc_ex.c) 48zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_NAND drivers/src/stm32l4xx_hal_nand.c) 49zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_NOR drivers/src/stm32l4xx_hal_nor.c) 50zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP drivers/src/stm32l4xx_hal_opamp.c) 51zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP_EX drivers/src/stm32l4xx_hal_opamp_ex.c) 52zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_OSPI drivers/src/stm32l4xx_hal_ospi.c) 53zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32l4xx_hal_pcd.c) 54zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32l4xx_hal_pcd_ex.c) 55zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PKA drivers/src/stm32l4xx_hal_pka.c) 56zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PSSI drivers/src/stm32l4xx_hal_pssi.c) 57zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32l4xx_hal_pwr.c) 58zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32l4xx_hal_pwr_ex.c) 59zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_QSPI drivers/src/stm32l4xx_hal_qspi.c) 60zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RNG drivers/src/stm32l4xx_hal_rng.c) 61zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RNG_EX drivers/src/stm32l4xx_hal_rng_ex.c) 62zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32l4xx_hal_rtc.c) 63zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32l4xx_hal_rtc_ex.c) 64zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32l4xx_hal_sai.c) 65zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32l4xx_hal_sai_ex.c) 66zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32l4xx_hal_sd.c) 67zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SD_EX drivers/src/stm32l4xx_hal_sd_ex.c) 68zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32l4xx_hal_smartcard.c) 69zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32l4xx_hal_smartcard_ex.c) 70zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32l4xx_hal_smbus.c) 71zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS_EX drivers/src/stm32l4xx_hal_smbus_ex.c) 72zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32l4xx_hal_spi.c) 73zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32l4xx_hal_spi_ex.c) 74zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SRAM drivers/src/stm32l4xx_hal_sram.c) 75zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SWPMI drivers/src/stm32l4xx_hal_swpmi.c) 76zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32l4xx_hal_tim.c) 77zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32l4xx_hal_tim_ex.c) 78zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TSC drivers/src/stm32l4xx_hal_tsc.c) 79zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32l4xx_hal_uart.c) 80zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_UART_EX drivers/src/stm32l4xx_hal_uart_ex.c) 81zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32l4xx_hal_usart.c) 82zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_USART_EX drivers/src/stm32l4xx_hal_usart_ex.c) 83zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32l4xx_hal_wwdg.c) 84zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32l4xx_ll_adc.c) 85zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_COMP drivers/src/stm32l4xx_ll_comp.c) 86zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32l4xx_ll_crc.c) 87zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_CRS drivers/src/stm32l4xx_ll_crs.c) 88zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32l4xx_ll_dac.c) 89zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32l4xx_ll_dma.c) 90zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DMA2D drivers/src/stm32l4xx_ll_dma2d.c) 91zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32l4xx_ll_exti.c) 92zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_FMC drivers/src/stm32l4xx_ll_fmc.c) 93zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32l4xx_ll_gpio.c) 94zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32l4xx_ll_i2c.c) 95zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_LPTIM drivers/src/stm32l4xx_ll_lptim.c) 96zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_LPUART drivers/src/stm32l4xx_ll_lpuart.c) 97zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_OPAMP drivers/src/stm32l4xx_ll_opamp.c) 98zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_PKA drivers/src/stm32l4xx_ll_pka.c) 99zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32l4xx_ll_pwr.c) 100zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32l4xx_ll_rcc.c) 101zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RNG drivers/src/stm32l4xx_ll_rng.c) 102zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32l4xx_ll_rtc.c) 103zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SDMMC drivers/src/stm32l4xx_ll_sdmmc.c) 104zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32l4xx_ll_spi.c) 105zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SWPMI drivers/src/stm32l4xx_ll_swpmi.c) 106zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32l4xx_ll_tim.c) 107zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32l4xx_ll_usart.c) 108zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USB drivers/src/stm32l4xx_ll_usb.c) 109zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32l4xx_ll_utils.c) 110