rt-thread/bsp/stm32f20x/SConscript
wuyangyong 1e712ebcdc update stm32f207 SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1735 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-30 06:32:07 +00:00

19 lines
451 B
Python

import rtconfig
Import('RTT_ROOT')
from building import *
src_bsp = ['application.c', 'startup.c', 'board.c', 'stm32f20x_it.c']
src_drv = ['usart.c', 'serial.c', 'rtc.c']
if GetDepend('RT_USING_DFS'):
src_drv += ['stm32f2xx_eth.c']
if GetDepend('RT_USING_LWIP'):
src_drv += ['sdio_sd.c']
src = src_bsp + src_drv
CPPPATH = [GetCurrentDir()]
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
Return('group')