创建,添加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

+26
View File
@@ -0,0 +1,26 @@
from building import *
from gcc import GetGCCLikePLATFORM
cwd = GetCurrentDir()
src = Split('''
shell.c
msh.c
msh_parse.c
''')
CPPPATH = [cwd]
LOCAL_CFLAGS = ''
if rtconfig.PLATFORM in ['gcc']: # only for GCC
LOCAL_CFLAGS += ' -Wstack-usage=' + str(GetConfigValue('FINSH_THREAD_STACK_SIZE')) # check finsh thread stack size
if GetDepend('MSH_USING_BUILT_IN_COMMANDS'):
src += ['cmd.c']
if GetDepend('DFS_USING_POSIX'):
src += ['msh_file.c']
group = DefineGroup('Finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH,
LOCAL_CFLAGS = LOCAL_CFLAGS)
Return('group')