mirror of
https://github.com/olikraus/u8g2.git
synced 2026-07-28 04:16:07 +00:00
Add support for rt-thread
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
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 = ''
|
||||
|
||||
group = DefineGroup('u8g2s', src, depend = [''], CPPPATH = path, LOCAL_CCFLAGS = LOCAL_CCFLAGS)
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user