From cc319c018178f3399b39525b21f45db8bb9ef5d1 Mon Sep 17 00:00:00 2001 From: greedyhao Date: Sat, 16 Nov 2019 21:30:32 +0800 Subject: [PATCH] Update SConscript MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加 stm32f7xx_hal_crc_ex.c,避免开启 CRC IP 的时候报错 --- bsp/stm32/libraries/STM32F7xx_HAL/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bsp/stm32/libraries/STM32F7xx_HAL/SConscript b/bsp/stm32/libraries/STM32F7xx_HAL/SConscript index 28f9640a9a..096cba78c7 100644 --- a/bsp/stm32/libraries/STM32F7xx_HAL/SConscript +++ b/bsp/stm32/libraries/STM32F7xx_HAL/SConscript @@ -12,6 +12,7 @@ STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cec.c STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.c +STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.c STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cryp.c STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cryp_ex.c STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_exti.c @@ -25,7 +26,7 @@ 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_SERIAL']): src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_uart.c'] src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_uart_ex.c']