Wayne 1fb3f1fcec
[bsp/nuvoton] Update. (#6022)
1. Sync 4.1.1+.
2. Add SDIO drivers for M480/M2354 platforms.
3. Update LVGL porting.
4. Add N9H30 FMI NAND driver.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-06-03 10:01:15 +08:00

23 lines
536 B
Python

from building import *
Import('rtconfig')
src = []
cwd = GetCurrentDir()
path = [cwd]
# add src and include to group.
src += Glob('tpc_worker.c')
if GetDepend('NU_PKG_USING_TPC_ILI'):
src += Glob('ili.c')
elif GetDepend('NU_PKG_USING_TPC_GT911'):
src += Glob('gt911.c')
elif GetDepend('NU_PKG_USING_TPC_FT5446'):
src += Glob('ft5446.c')
elif GetDepend('NU_PKG_USING_TPC_ST1663I'):
src += Glob('st1663i.c')
else:
src = []
group = DefineGroup('nu_pkgs_tpc', src, depend = [''], CPPPATH = path)
Return('group')