rt-thread/bsp/stm32/stm32l475-atk-pandora/board/ports/lcd/SConscript

17 lines
350 B
Python
Raw Normal View History

from building import *
import os
cwd = GetCurrentDir()
2021-11-22 04:24:09 +08:00
src = ['drv_lcd.c']
CPPPATH = [cwd]
if GetDepend(['BSP_USING_LCD_QRCODE']):
2021-11-22 04:24:09 +08:00
src = src + ['lcd_qrcode.c']
if GetDepend(['BSP_USING_LCD_SAMPLE']):
2021-11-22 04:24:09 +08:00
src = src + ['demo/lcd_sample.c']
group = DefineGroup('Drivers', src, depend = ['BSP_USING_SPI_LCD'], CPPPATH = CPPPATH)
Return('group')