2021-08-04 01:25:47 +08:00
|
|
|
from building import *
|
|
|
|
import rtconfig
|
|
|
|
|
|
|
|
# get current directory
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
# The set of source files associated with this SConscript file.
|
|
|
|
src = Glob('csrc/*.c')
|
|
|
|
src += Glob('sys/rt-thread/port/*.c')
|
|
|
|
src += Glob('sys/rt-thread/examples/*.c')
|
|
|
|
|
|
|
|
path = [cwd + '/']
|
|
|
|
path += [cwd + '/csrc']
|
|
|
|
path += [cwd + '/sys/rt-thread/port']
|
|
|
|
|
|
|
|
LOCAL_CCFLAGS = ''
|
|
|
|
|
2021-08-04 01:44:02 +08:00
|
|
|
group = DefineGroup('u8g2s', src, depend = [''], CPPPATH = path, LOCAL_CCFLAGS = LOCAL_CCFLAGS, CPPDEFINES=['RTT_U8G2'])
|
2021-08-04 01:25:47 +08:00
|
|
|
|
|
|
|
Return('group')
|