onelife.real 3c3353ee18 *** EFM32 branch ***
1. Add keys and joystick driver
2. Add direct drive (frame buffer) method support in LCD driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1973 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-20 04:35:01 +00:00

23 lines
690 B
Python

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('')