summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinsheng <[email protected]>2019-02-19 21:45:43 +0800
committerjinsheng <[email protected]>2019-02-19 21:45:43 +0800
commitda19913421474838765e21a5b808ffdc12f03630 (patch)
treed443eefc032769ec773e2b67ecaad620415150b7
parenta9c9763290ddb5af1014817a9109b1e4a5007390 (diff)
增加 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']