Add support for rt-thread

This commit is contained in:
wuhanstudio
2021-08-03 18:25:47 +01:00
parent 7bd4598e30
commit 67aa759332
8 changed files with 529 additions and 0 deletions
+19
View File
@@ -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')