23 lines
419 B
Python
23 lines
419 B
Python
Import('RTT_ROOT')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
group = []
|
|
|
|
src = Split("""
|
|
lcd_ili9341.c
|
|
""")
|
|
CPPPATH = [cwd]
|
|
|
|
if GetDepend('NU_PKG_USING_ILI9341_EBI'):
|
|
src += Glob('ili9341_ebi.c')
|
|
|
|
if GetDepend('NU_PKG_USING_ILI9341_SPI'):
|
|
src += Glob('ili9341_spi.c')
|
|
|
|
if GetDepend('NU_PKG_USING_ILI9341'):
|
|
group = DefineGroup('nu_pkgs_ili9341', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|
|
|