You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
690 B
22 lines
690 B
import rtconfig
|
|
from building import *
|
|
|
|
if rtconfig.EFM32_LCD == 'LCD_MAPPED':
|
|
src = Split("""
|
|
dmd/ssd2119/dmd_ssd2119_16bit.c
|
|
dmd/ssd2119/dmdif_ssd2119_ebi16.c
|
|
""")
|
|
CPPPATH = [GetCurrentDir()]
|
|
CPPPATH.append(GetCurrentDir() + '/dmd/ssd2119')
|
|
group = DefineGroup('EFM32GG_DK3750_LCD', src, depend = [''], CPPPATH = CPPPATH)
|
|
Return('group')
|
|
elif rtconfig.EFM32_LCD == 'LCD_DIRECT':
|
|
src = Split("""
|
|
dmd/ssd2119/dmd_ssd2119_direct.c
|
|
""")
|
|
CPPPATH = [GetCurrentDir()]
|
|
CPPPATH.append(GetCurrentDir() + '/dmd/ssd2119')
|
|
group = DefineGroup('EFM32GG_DK3750_LCD', src, depend = [''], CPPPATH = CPPPATH)
|
|
Return('group')
|
|
else:
|
|
Return('')
|
|
|