diff options
| author | guo <[email protected]> | 2021-10-26 07:50:40 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-26 07:50:40 +0800 |
| commit | c8ee4cc67dd1815d1b0ead1bcd24156da6ab87de (patch) | |
| tree | 1f392373790a657725dd47def54196a42b1e57f5 /bsp/tkm32F499/Libraries/SConscript | |
| parent | ab36707b681ad8d3374e1d6a01fdeab309de80e7 (diff) | |
| parent | 8a180d5dd31bced87082af4ee819e5b1fa79211d (diff) | |
Merge pull request #5182 from NU-LL/tkm32f499
Diffstat (limited to 'bsp/tkm32F499/Libraries/SConscript')
| -rw-r--r-- | bsp/tkm32F499/Libraries/SConscript | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bsp/tkm32F499/Libraries/SConscript b/bsp/tkm32F499/Libraries/SConscript new file mode 100644 index 0000000000..6eaca5636e --- /dev/null +++ b/bsp/tkm32F499/Libraries/SConscript @@ -0,0 +1,22 @@ +import rtconfig +from building import * + +# get current directory +cwd = GetCurrentDir() + +# The set of source files associated with this SConscript file. + +src = Glob('Hal_lib/src/*.c') +src += [cwd + '/CMSIS_and_startup/sys.c'] +src += [cwd + '/CMSIS_and_startup/startup_Tk499.s'] + +path = [ + cwd + '/CMSIS_and_startup/CMSIS', + cwd + '/CMSIS_and_startup', + cwd + '/Hal_lib/inc',] + +CPPDEFINES = [] + +group = DefineGroup('TKM32_Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES) + +Return('group') |
