提交 22490a9c 编写于 作者: B bernard

[bsp] Update SConscript for stm32f429 apollo bsp

上级 666e9069
Import('RTT_ROOT')
Import('rtconfig')
from building import * from building import *
cwd = os.path.join(str(Dir('#')), 'applications') cwd = GetCurrentDir()
#src = Glob('*.c')
CPPPATH = [cwd, str(Dir('#'))] CPPPATH = [cwd, str(Dir('#'))]
src = Split(""" src = Split("""
application.c application.c
startup.c startup.c
""") """)
# add gpio drivers. # add UI engine demo.
if GetDepend('RT_USING_GUIENGINE'): if GetDepend('RT_USING_GUIENGINE'):
src += ['rtgui_demo.c'] src += ['rtgui_demo.c']
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH) group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
Return('group') Return('group')
Import('RTT_ROOT')
Import('rtconfig')
from building import * from building import *
cwd = os.path.join(str(Dir('#')), 'drivers') cwd = GetCurrentDir()
# add the general drivers. # add the general drivers.
src = Split(""" src = Split("""
...@@ -15,7 +13,9 @@ drv_nand.c ...@@ -15,7 +13,9 @@ drv_nand.c
drv_mpu.c drv_mpu.c
""") """)
#drv_sdio_sd.c # add sdio driver
if GetDepend('RT_USING_DFS'):
src += ['drv_sdio_sd.c']
# add Ethernet drivers. # add Ethernet drivers.
if GetDepend('RT_USING_LWIP'): if GetDepend('RT_USING_LWIP'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册