diff options
| author | FuChao <[email protected]> | 2021-09-07 20:08:26 +0800 |
|---|---|---|
| committer | FuChao <[email protected]> | 2021-09-07 20:08:26 +0800 |
| commit | 8b250bc9ff78fd00028ad79fa354dcccedeb5fe0 (patch) | |
| tree | f09ccab548e07e80105ad4eb6e5f8c4b71c195a9 /bsp/Vango_V85xx/Libraries/SConscript | |
| parent | d71e2ac5829925e8a9fc7203fda8830eeda44ecc (diff) | |
add Vango V85xx first version
Diffstat (limited to 'bsp/Vango_V85xx/Libraries/SConscript')
| -rw-r--r-- | bsp/Vango_V85xx/Libraries/SConscript | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bsp/Vango_V85xx/Libraries/SConscript b/bsp/Vango_V85xx/Libraries/SConscript new file mode 100644 index 0000000000..797ae66cf4 --- /dev/null +++ b/bsp/Vango_V85xx/Libraries/SConscript @@ -0,0 +1,25 @@ +import rtconfig +from building import * + +# get current directory +cwd = GetCurrentDir() + +# The set of source files associated with this SConscript file. + +src = Glob('VangoV85xx_standard_peripheral/Source/*.c') +src += [cwd + '/CMSIS/Vango/V85xx/Source/system_target.c'] + +#add for startup script +if rtconfig.CROSS_TOOL == 'gcc': + src += [cwd + '/CMSIS/Vango/V85xx/Source/GCC/startup_target.S'] + +path = [ + cwd + '/CMSIS/Vango/V85xx/Include', + cwd + '/CMSIS', + cwd + '/VangoV85xx_standard_peripheral/Include',] + +CPPDEFINES = ['USE_STDPERIPH_DRIVER', 'V85xx','USE_TARGET_DRIVER'] + +group = DefineGroup('Vango_Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES) + +Return('group') |
