创建,添加sdram

This commit is contained in:
sc committed 2025-11-16 15:44:34 +08:00
commit 90c74bc31a
2944 files changed
+1430509

No files matched your search

@@ -0,0 +1,18 @@
from building import *
Import('rtconfig')
cwd = GetCurrentDir()
src = []
CPPPATH = []
src += Glob('*.cpp') + Glob('*.c')
if rtconfig.PLATFORM in ['armclang']:
src += Glob('armclang/*.cpp') + Glob('armclang/*.c')
CPPPATH += [cwd + '/armclang']
elif rtconfig.PLATFORM in ['gcc']:
src += Glob('gcc/*.cpp') + Glob('gcc/*.c')
CPPPATH += [cwd + '/gcc']
group = DefineGroup('CPP', src, depend=['RT_USING_CPLUSPLUS11'], CPPPATH=CPPPATH)
Return('group')