2011-12-27 15:44:29 +08:00
|
|
|
import rtconfig
|
|
|
|
from building import *
|
|
|
|
|
2012-02-20 12:35:01 +08:00
|
|
|
if rtconfig.EFM32_LCD == 'LCD_MAPPED':
|
2011-12-27 15:44:29 +08:00
|
|
|
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')
|
2012-02-20 12:35:01 +08:00
|
|
|
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')
|
2011-12-27 15:44:29 +08:00
|
|
|
else:
|
|
|
|
Return('')
|