sdio+fatfs创建

This commit is contained in:
sc committed 2025-10-19 00:26:13 +08:00
commit f762d5d7f8
2473 files changed
+1192014

No files matched your search

@@ -0,0 +1,20 @@
from shutil import copy
from building import *
from gcc import *
Import('rtconfig')
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd]
group = []
# sys/select.h does not exist in newlib 2.2.0 or lower version
if rtconfig.PLATFORM == 'gcc' and (CheckHeader(rtconfig, 'sys/select.h') == False):
try:
copy("../../../../common/nogcc/sys/select.h", "./sys/select.h") # copy from 'nogcc/sys/select.h'
except:
pass
group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)
Return('group')