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