summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-02-20 18:36:35 +0800
committerGitHub <[email protected]>2019-02-20 18:36:35 +0800
commitf6d551553d0c0cf1fc8d8887db2f517a9875258a (patch)
tree69a3a6fb54bff0851ac7a819efe2ecd7288b7008
parent7f987b512d9202665ba24283640d84cdc7b97adb (diff)
parentda19913421474838765e21a5b808ffdc12f03630 (diff)
Merge pull request #2357 from jinsheng20/bsp/stm32
增加 LTDC 官方驱动条件加入工程
-rw-r--r--bsp/stm32/libraries/STM32F7xx_HAL/SConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsp/stm32/libraries/STM32F7xx_HAL/SConscript b/bsp/stm32/libraries/STM32F7xx_HAL/SConscript
index 7b4507d33d..a21fa3e4fa 100644
--- a/bsp/stm32/libraries/STM32F7xx_HAL/SConscript
+++ b/bsp/stm32/libraries/STM32F7xx_HAL/SConscript
@@ -93,6 +93,12 @@ if GetDepend(['BSP_USING_ON_CHIP_FLASH']):
src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash.c']
src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash_ex.c']
+if GetDepend(['BSP_USING_LTDC']):
+ src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc.c']
+ src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_ltdc_ex.c']
+ src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma2d.c']
+ src += ['STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_dma2d.c']
+
path = [cwd + '/STM32F7xx_HAL_Driver/Inc',
cwd + '/CMSIS/Device/ST/STM32F7xx/Include',
cwd + '/CMSIS/Include']