diff options
Diffstat (limited to 'bsp/gd32450z-eval/Libraries/SConscript')
| -rw-r--r-- | bsp/gd32450z-eval/Libraries/SConscript | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/bsp/gd32450z-eval/Libraries/SConscript b/bsp/gd32450z-eval/Libraries/SConscript deleted file mode 100644 index 1ee18f08c0..0000000000 --- a/bsp/gd32450z-eval/Libraries/SConscript +++ /dev/null @@ -1,33 +0,0 @@ -import rtconfig -from building import * - -# get current directory -cwd = GetCurrentDir() - -# The set of source files associated with this SConscript file. - -src = Glob('GD32F4xx_standard_peripheral/Source/*.c') -src += [cwd + '/CMSIS/GD/GD32F4xx/Source/system_gd32f4xx.c'] - -#add for startup script -if rtconfig.PLATFORM in ['gcc']: - src += [cwd + '/CMSIS/GD/GD32F4xx/Source/GCC/startup_gd32f4xx.S'] -elif rtconfig.PLATFORM in ['armcc', 'armclang']: - src += [cwd + '/CMSIS/GD/GD32F4xx/Source/ARM/startup_gd32f4xx.s'] -elif rtconfig.PLATFORM in ['iccarm']: - src += [cwd + '/CMSIS/GD/GD32F4xx/Source/IAR/startup_gd32f4xx.s'] - -path = [ - cwd + '/CMSIS/GD/GD32F4xx/Include', - cwd + '/CMSIS', - cwd + '/GD32F4xx_standard_peripheral/Include',] - -if GetDepend(['RT_USING_BSP_USB']): - path += [cwd + '/GD32F4xx_usb_driver/Include'] - src += [cwd + '/GD32F4xx_usb_driver/Source'] - -CPPDEFINES = ['USE_STDPERIPH_DRIVER'] - -group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES) - -Return('group') |
