# SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2020 STMicroelectronics # # SPDX-License-Identifier: Apache-2.0 zephyr_library_sources(soc/system_stm32g4xx.c) zephyr_library_sources(drivers/src/stm32g4xx_hal.c) zephyr_library_sources(drivers/src/stm32g4xx_hal_rcc.c) zephyr_library_sources(drivers/src/stm32g4xx_hal_rcc_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32g4xx_hal_adc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32g4xx_hal_adc_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_COMP drivers/src/stm32g4xx_hal_comp.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CORDIC drivers/src/stm32g4xx_hal_cordic.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32g4xx_hal_cortex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32g4xx_hal_crc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32g4xx_hal_crc_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRYP drivers/src/stm32g4xx_hal_cryp.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRYP_EX drivers/src/stm32g4xx_hal_cryp_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32g4xx_hal_dac.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32g4xx_hal_dac_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32g4xx_hal_dma.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA_EX drivers/src/stm32g4xx_hal_dma_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_EXTI drivers/src/stm32g4xx_hal_exti.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FDCAN drivers/src/stm32g4xx_hal_fdcan.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32g4xx_hal_flash.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32g4xx_hal_flash_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_RAMFUNC drivers/src/stm32g4xx_hal_flash_ramfunc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FMAC drivers/src/stm32g4xx_hal_fmac.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32g4xx_hal_gpio.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HRTIM drivers/src/stm32g4xx_hal_hrtim.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32g4xx_hal_i2c.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32g4xx_hal_i2c_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2S drivers/src/stm32g4xx_hal_i2s.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32g4xx_hal_irda.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32g4xx_hal_iwdg.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32g4xx_hal_lptim.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_NAND drivers/src/stm32g4xx_hal_nand.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_NOR drivers/src/stm32g4xx_hal_nor.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP drivers/src/stm32g4xx_hal_opamp.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP_EX drivers/src/stm32g4xx_hal_opamp_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32g4xx_hal_pcd.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32g4xx_hal_pcd_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32g4xx_hal_pwr.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32g4xx_hal_pwr_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_QSPI drivers/src/stm32g4xx_hal_qspi.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RNG drivers/src/stm32g4xx_hal_rng.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32g4xx_hal_rtc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32g4xx_hal_rtc_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32g4xx_hal_sai.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32g4xx_hal_sai_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32g4xx_hal_smartcard.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32g4xx_hal_smartcard_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32g4xx_hal_smbus.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS_EX drivers/src/stm32g4xx_hal_smbus_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32g4xx_hal_spi.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32g4xx_hal_spi_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SRAM drivers/src/stm32g4xx_hal_sram.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32g4xx_hal_tim.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32g4xx_hal_tim_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32g4xx_hal_uart.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_UART_EX drivers/src/stm32g4xx_hal_uart_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32g4xx_hal_usart.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_USART_EX drivers/src/stm32g4xx_hal_usart_ex.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32g4xx_hal_wwdg.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32g4xx_ll_adc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_COMP drivers/src/stm32g4xx_ll_comp.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_CORDIC drivers/src/stm32g4xx_ll_cordic.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32g4xx_ll_crc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_CRS drivers/src/stm32g4xx_ll_crs.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32g4xx_ll_dac.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32g4xx_ll_dma.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32g4xx_ll_exti.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_FMAC drivers/src/stm32g4xx_ll_fmac.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_FMC drivers/src/stm32g4xx_ll_fmc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32g4xx_ll_gpio.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_HRTIM drivers/src/stm32g4xx_ll_hrtim.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32g4xx_ll_i2c.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_LPTIM drivers/src/stm32g4xx_ll_lptim.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_LPUART drivers/src/stm32g4xx_ll_lpuart.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_OPAMP drivers/src/stm32g4xx_ll_opamp.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32g4xx_ll_pwr.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32g4xx_ll_rcc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RNG drivers/src/stm32g4xx_ll_rng.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32g4xx_ll_rtc.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32g4xx_ll_spi.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32g4xx_ll_tim.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_UCPD drivers/src/stm32g4xx_ll_ucpd.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32g4xx_ll_usart.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USB drivers/src/stm32g4xx_ll_usb.c) zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32g4xx_ll_utils.c)