diff options
| author | wuyangyong <[email protected]> | 2011-10-13 17:54:59 +0000 |
|---|---|---|
| committer | wuyangyong <[email protected]> | 2011-10-13 17:54:59 +0000 |
| commit | 53ae9bf2e1b028b818f6488c4a18dce7c47b5be3 (patch) | |
| tree | e0705f2bddab1769ec2b23e2e4c2434b03910713 /bsp/lpc176x/SConscript | |
| parent | 06e810dfe8ff4502527d3fffdcd3149202b36260 (diff) | |
update lpc176x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1762 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/lpc176x/SConscript')
| -rw-r--r-- | bsp/lpc176x/SConscript | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bsp/lpc176x/SConscript b/bsp/lpc176x/SConscript index c4866729f3..3bf2ce4f99 100644 --- a/bsp/lpc176x/SConscript +++ b/bsp/lpc176x/SConscript @@ -4,7 +4,6 @@ from building import * src_bsp = ['application.c', 'startup.c', 'board.c']
src_drv = ['uart.c', 'led.c']
-src_cmsis = ['CMSIS/CM3/CoreSupport/core_cm3.c', 'CMSIS/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.c']
if GetDepend('RT_USING_DFS'):
src_drv += ['sd.c', 'spi.c']
@@ -12,8 +11,8 @@ if GetDepend('RT_USING_DFS'): if GetDepend('RT_USING_LWIP'):
src_drv += ['emac.c']
-src = File(src_bsp + src_drv + src_cmsis)
-CPPPATH = [ RTT_ROOT + '/bsp/lpc176x/CMSIS/CM3/CoreSupport', RTT_ROOT + '/bsp/lpc176x/CMSIS/CM3/DeviceSupport/NXP/LPC17xx',RTT_ROOT + '/bsp/lpc176x']
+src = File(src_bsp + src_drv )
+CPPPATH = [ GetCurrentDir() ]
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|
