mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
[simulator] 增加RTC配置项(默认开启)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user