mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 02:51:33 +08:00
[bsp][stm32/libraries]各个系列默认添加库文件stm32xxxx_hal_gpio.c
[bsp][stm32/libraries]修改各个系列下的sconscript文件,默认添加 stm32xxxx_hal_gpio.c
This commit is contained in:
parent
bfd28d4beb
commit
31197c891d
@ -23,11 +23,9 @@ STM32F0xx_HAL_Driver/Src/stm32f0xx_ll_gpio.c
|
||||
STM32F0xx_HAL_Driver/Src/stm32f0xx_ll_pwr.c
|
||||
STM32F0xx_HAL_Driver/Src/stm32f0xx_ll_rcc.c
|
||||
STM32F0xx_HAL_Driver/Src/stm32f0xx_ll_utils.c
|
||||
STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c
|
||||
""")
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c']
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_uart.c']
|
||||
src += ['STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_uart_ex.c']
|
||||
|
@ -17,10 +17,10 @@ STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cec.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c
|
||||
STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c
|
||||
""")
|
||||
|
||||
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']):
|
||||
|
@ -15,10 +15,8 @@ STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_rcc.c
|
||||
STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_rcc_ex.c
|
||||
STM32F2xx_HAL_Driver/Src/stm32f2xx_hal.c
|
||||
STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_sram.c
|
||||
STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_gpio.c
|
||||
""")
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_gpio.c']
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32F2xx_HAL_Driver/Src/stm32f2xx_hal_uart.c']
|
||||
|
@ -21,10 +21,8 @@ STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.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_gpio.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']
|
||||
|
@ -23,11 +23,9 @@ STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c
|
||||
STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.c
|
||||
STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rng.c
|
||||
STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_sram.c
|
||||
STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.c
|
||||
''')
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.c']
|
||||
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_uart.c']
|
||||
src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_uart_ex.c']
|
||||
|
@ -18,11 +18,9 @@ STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c
|
||||
STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c
|
||||
STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c
|
||||
STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c
|
||||
STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c
|
||||
""")
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c']
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c']
|
||||
src += ['STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c']
|
||||
|
@ -25,11 +25,9 @@ STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c
|
||||
STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c
|
||||
STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rng.c
|
||||
STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sram.c
|
||||
STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c
|
||||
''')
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c']
|
||||
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c']
|
||||
src += ['STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_usart.c']
|
||||
|
@ -21,11 +21,9 @@ STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c
|
||||
STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c
|
||||
STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c
|
||||
STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rng.c
|
||||
STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c
|
||||
''')
|
||||
|
||||
if GetDepend(['RT_USING_PIN']):
|
||||
src += ['STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c']
|
||||
|
||||
|
||||
if GetDepend(['RT_USING_SERIAL']):
|
||||
src += ['STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c']
|
||||
src += ['STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c']
|
||||
|
@ -23,11 +23,9 @@ STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.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_gpio.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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user