diff options
| author | [email protected] <[email protected]> | 2011-06-30 23:25:17 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-30 23:25:17 +0000 |
| commit | 3bec3d7caf119fd272f472cbcb42e1f2fa38c67e (patch) | |
| tree | a0773b5993acc059b757fbf7c897081ce46df349 /bsp/stm32f20x/SConscript | |
| parent | b4ae6c402e3165944621e472d7a673a117dd2662 (diff) | |
add library for STM32F2xx.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1561 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/stm32f20x/SConscript')
| -rw-r--r-- | bsp/stm32f20x/SConscript | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bsp/stm32f20x/SConscript b/bsp/stm32f20x/SConscript index 764088b716..e99c60b27c 100644 --- a/bsp/stm32f20x/SConscript +++ b/bsp/stm32f20x/SConscript @@ -6,8 +6,7 @@ src_bsp = ['application.c', 'startup.c', 'board.c', 'stm32f20x_it.c'] src_drv = ['usart.c', 'serial.c']
src = src_bsp + src_drv
-CPPPATH = [str(Dir('#'))]
-CPPDEFINES = ['USE_STDPERIPH_DRIVER']
-group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
+CPPPATH = [GetCurrentDir()]
+group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|
