[simulator] 增加RTC配置项(默认开启)

This commit is contained in:
Meco Man
2022-05-19 09:43:20 +08:00
committed by guo
parent e43548f46f
commit 569facb12d
6 changed files with 42 additions and 39 deletions
+2
View File
@@ -38,6 +38,8 @@ else:
LIBPATH.append(os.path.abspath(os.path.join(cwd, '../SDL2/lib/x86')))
CPPPATH.append(os.path.abspath(os.path.join(cwd, '../SDL2/include')))
if GetDepend('BSP_USING_RTC') == False:
SrcRemove(src, 'drv_rtc.c')
if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_DFS_ELMFAT') == False:
SrcRemove(src, 'sd_sim.c')
if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_MTD_NAND') == False: