according to the LPC176x, make a new BSP file structure for mb9bf506r

and add a template.ewp file for updating the IAR project

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2095 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
dzzxzz@gmail.com
2012-04-20 03:28:15 +00:00
parent 4f381a1c68
commit b05e37893a
25 changed files with 3966 additions and 2236 deletions
+12 -16
View File
@@ -1,16 +1,12 @@
import rtconfig
Import('RTT_ROOT')
from building import *
src_bsp = ['application.c', 'startup.c', 'board.c', 'led.c', 'console.c']
src_drv = ['serial.c', 'nand.c']
if GetDepend('RT_USING_RTGUI'):
src_drv += ['info.c']
src = src_bsp + src_drv
CPPPATH = [GetCurrentDir()]
CPPDEFINES = []
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')
from building import *
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(d, 'SConscript'))
Return('objs')