diff options
| author | [email protected] <[email protected]> | 2012-06-01 07:31:15 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-06-01 07:31:15 +0000 |
| commit | 60ada9665d2bf7a9959bed9b92cb90c710f5ad52 (patch) | |
| tree | 06ad26cd8575d0f9752bf5202094bf9f538b5f89 /components/CMSIS/SConscript | |
| parent | 7fddcb0e355a572504181d3e04943acebd5e4fae (diff) | |
add the standard CMSIS(Version 3.01) into components
and implement examples in MB9BF506R and LPC176x branches
define RT_USING_BSP_CMSIS in rtconfig.h will use CMSIS in bsp
define RT_USING_RTT_CMSIS in rtconfig.h will use CMSIS in components
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2146 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/CMSIS/SConscript')
| -rw-r--r-- | components/CMSIS/SConscript | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/components/CMSIS/SConscript b/components/CMSIS/SConscript new file mode 100644 index 0000000000..1cb7618499 --- /dev/null +++ b/components/CMSIS/SConscript @@ -0,0 +1,14 @@ +# for module compiling
+import os
+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')
|
