summaryrefslogtreecommitdiff
path: root/bsp/nv32f100x/app/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/app/SConscript
parentb2dd63d3106a97f3381f6cac36963c784a046e00 (diff)
add nv32f100x bsp.
Diffstat (limited to 'bsp/nv32f100x/app/SConscript')
-rw-r--r--bsp/nv32f100x/app/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/bsp/nv32f100x/app/SConscript b/bsp/nv32f100x/app/SConscript
new file mode 100644
index 0000000000..5260088eb3
--- /dev/null
+++ b/bsp/nv32f100x/app/SConscript
@@ -0,0 +1,15 @@
+Import('RTT_ROOT')
+Import('rtconfig')
+from building import *
+
+cwd = os.path.join(str(Dir('#')), 'app')
+
+src = Glob('./src/*.c')
+
+path = [cwd + '/inc',
+ cwd + '/..',
+ ]
+
+group = DefineGroup('Applications', src, depend = [''], CPPPATH = path)
+
+Return('group')