diff options
| author | zhongjiequan <[email protected]> | 2017-09-20 14:21:18 +0800 |
|---|---|---|
| committer | zhongjiequan <[email protected]> | 2017-09-20 14:21:18 +0800 |
| commit | e9cafbeb6a3305cc1ca5cd731b969321cc2b6eea (patch) | |
| tree | b8f733d9abdba7a725218bccfcced9b25da1996d /bsp/nv32f100x/lib/SConscript | |
| parent | b2dd63d3106a97f3381f6cac36963c784a046e00 (diff) | |
add nv32f100x bsp.
Diffstat (limited to 'bsp/nv32f100x/lib/SConscript')
| -rw-r--r-- | bsp/nv32f100x/lib/SConscript | 16 |
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') |
