summaryrefslogtreecommitdiff
path: root/bsp/nv32f100x/lib/SConscript
diff options
context:
space:
mode:
authorzhongjiequan <[email protected]>2017-09-20 14:21:18 +0800
committerzhongjiequan <[email protected]>2017-09-20 14:21:18 +0800
commite9cafbeb6a3305cc1ca5cd731b969321cc2b6eea (patch)
treeb8f733d9abdba7a725218bccfcced9b25da1996d /bsp/nv32f100x/lib/SConscript
parentb2dd63d3106a97f3381f6cac36963c784a046e00 (diff)
add nv32f100x bsp.
Diffstat (limited to 'bsp/nv32f100x/lib/SConscript')
-rw-r--r--bsp/nv32f100x/lib/SConscript16
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/nv32f100x/lib/SConscript b/bsp/nv32f100x/lib/SConscript
new file mode 100644
index 0000000000..9f78108059
--- /dev/null
+++ b/bsp/nv32f100x/lib/SConscript
@@ -0,0 +1,16 @@
+Import('RTT_ROOT')
+Import('rtconfig')
+from building import *
+
+cwd = os.path.join(str(Dir('#')), 'lib')
+src = Glob('./src/*.c')
+
+src += Glob('./src/*.s')
+path = [cwd + '/inc'
+ ]
+
+CPPDEFINES = ['NV32', 'KEIL']
+
+group = DefineGroup('Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
+
+Return('group')