mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 18:13:31 +08:00
[bsp][stm32] Sync SConscript
This commit is contained in:
parent
d830b6cbf8
commit
63dbe79912
@ -8,69 +8,80 @@ cwd = GetCurrentDir()
|
||||
# The set of source files associated with this SConscript file.
|
||||
src = Split("""
|
||||
CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_crc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_irda.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_iwdg.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_smartcard.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_usart.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_wwdg.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_crc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dac.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dma.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_exti.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_i2c.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_pwr.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rtc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_sdmmc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_spi.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_tim.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usart.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_utils.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cec.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_can.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_eth.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_hcd.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2s.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_mmc.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sd.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nand.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pccard.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nor.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c
|
||||
""")
|
||||
#device options
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_usart.c']
|
||||
|
||||
if GetDepend(['RT_USING_I2C']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c']
|
||||
|
||||
if GetDepend(['RT_USING_SPI']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi_ex.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_spi.c']
|
||||
|
||||
if GetDepend(['RT_USING_USB_HOST']) or GetDepend(['RT_USING_USB_DEVICE']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_hcd.c']
|
||||
|
||||
if GetDepend(['RT_USING_CAN']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_can.c']
|
||||
|
||||
if GetDepend(['RT_USING_HWTIMER']) or GetDepend(['RT_USING_PWM']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c']
|
||||
|
||||
if GetDepend(['BSP_USING_ETH']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_eth.c']
|
||||
|
||||
if GetDepend(['RT_USING_ADC']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_RTC']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_WDT']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_iwdg.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_wwdg.c']
|
||||
|
||||
if GetDepend(['RT_USING_SDIO']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_mmc.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sd.c']
|
||||
|
||||
if GetDepend(['RT_USING_AUDIO']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2s.c']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NOR']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nor.c']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NAND']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nand.c']
|
||||
|
||||
if GetDepend(['BSP_USING_ON_CHIP_FLASH']):
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c']
|
||||
src += ['STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c']
|
||||
|
||||
path = [cwd + '/CMSIS/Device/ST/STM32F1xx/Include',
|
||||
cwd + '/STM32F1xx_HAL_Driver/Inc',
|
||||
cwd + '/STM32F1xx_HAL_Driver/Inc',
|
||||
cwd + '/CMSIS/Include']
|
||||
|
||||
if GetDepend(['RT_USING_RTT_CMSIS']):
|
||||
|
@ -9,74 +9,92 @@ cwd = GetCurrentDir()
|
||||
src = Split('''
|
||||
CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cec.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_crc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cryp_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dac.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dac_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dfsdm.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma2d.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dsi.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_fmpi2c_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hash.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hash_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hcd.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2s.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2s_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_irda.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_iwdg.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_lptim.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_ltdc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_ltdc_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_nand.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_nor.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pccard.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_qspi.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rng.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rtc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rtc_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sai.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sai_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sd.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sdram.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_smartcard.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spdifrx.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_usart.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_wwdg.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fsmc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_sdmmc.c
|
||||
STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c
|
||||
''')
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c']
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_usart.c']
|
||||
|
||||
if GetDepend(['RT_USING_I2C']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_SPI']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_qspi.c']
|
||||
|
||||
if GetDepend(['RT_USING_USB_HOST']) or GetDepend(['RT_USING_USB_DEVICE']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pccard.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hcd.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c']
|
||||
|
||||
if GetDepend(['RT_USING_CAN']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.c']
|
||||
|
||||
if GetDepend(['RT_USING_HWTIMER']) or GetDepend(['RT_USING_PWM']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_lptim.c']
|
||||
|
||||
if GetDepend(['BSP_USING_ETH']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c']
|
||||
|
||||
if GetDepend(['RT_USING_ADC']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_RTC']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rtc.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rtc_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_WDT']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_iwdg.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_wwdg.c']
|
||||
|
||||
if GetDepend(['RT_USING_SDIO']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_sdmmc.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sd.c']
|
||||
|
||||
if GetDepend(['RT_USING_AUDIO']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2s.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2s_ex.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sai.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sai_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NOR']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_nor.c']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NAND']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_nand.c']
|
||||
|
||||
if GetDepend(['BSP_USING_SDRAM']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fsmc.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sdram.c']
|
||||
|
||||
if GetDepend(['BSP_USING_ON_CHIP_FLASH']):
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c']
|
||||
src += ['STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c']
|
||||
|
||||
path = [cwd + '/STM32F4xx_HAL_Driver/Inc',
|
||||
cwd + '/CMSIS/Device/ST/STM32F4xx/Include',
|
||||
cwd + '/CMSIS/Include']
|
||||
|
@ -9,103 +9,86 @@ cwd = GetCurrentDir()
|
||||
src = Split('''
|
||||
CMSIS/Device/ST/STM32L4xx/Source/Templates/system_stm32l4xx.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_can.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_comp.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_crc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_crc_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cryp.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cryp_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dac.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dac_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dcmi.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dfsdm.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dfsdm_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma2d.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dsi.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_firewall.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gfxmmu.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_hash.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_hash_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_hcd.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_irda.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_iwdg.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lcd.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_ltdc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_ltdc_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_nand.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_nor.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_opamp.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_opamp_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_ospi.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_qspi.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rng.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sai.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sai_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sd.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sd_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_smartcard.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_smartcard_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_smbus.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sram.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_swpmi.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tsc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_usart.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_usart_ex.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_wwdg.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_adc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_comp.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_crc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_crs.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_dac.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_dma.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_dma2d.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_exti.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_fmc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_gpio.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_i2c.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_lptim.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_lpuart.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_opamp.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_pwr.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_rcc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_rng.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_rtc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_sdmmc.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_spi.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_swpmi.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_tim.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_usart.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_usb.c
|
||||
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_utils.c
|
||||
''')
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c']
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_usart.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_usart_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_I2C']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_SPI']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_qspi.c']
|
||||
|
||||
if GetDepend(['RT_USING_USB_HOST']) or GetDepend(['RT_USING_USB_DEVICE']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_hcd.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd_ex.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_usb.c']
|
||||
|
||||
if GetDepend(['RT_USING_CAN']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_can.c']
|
||||
|
||||
if GetDepend(['RT_USING_HWTIMER']) or GetDepend(['RT_USING_PWM']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_lptim.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_ADC']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_RTC']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_WDT']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_iwdg.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_wwdg.c']
|
||||
|
||||
if GetDepend(['RT_USING_SDIO']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sd.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sd_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_AUDIO']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sai.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_sai_ex.c']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NOR']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_nor.c']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NAND']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_nand.c']
|
||||
|
||||
if GetDepend(['BSP_USING_ON_CHIP_FLASH']):
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c']
|
||||
src += ['STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.c']
|
||||
|
||||
path = [cwd + '/STM32L4xx_HAL_Driver/Inc',
|
||||
cwd + '/CMSIS/Device/ST/STM32L4xx/Include',
|
||||
cwd + '/CMSIS/Include']
|
||||
|
Loading…
x
Reference in New Issue
Block a user