summaryrefslogtreecommitdiff
path: root/bsp/gd32105c-eval/Libraries/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-11-20 06:16:16 -0500
committerMeco Man <[email protected]>2023-11-20 07:34:46 -0500
commiteff3560d64fda22ec5c4568dc06f7d3f9a5feef5 (patch)
tree52bc89e82dc2dfd48e94d413e2c832f4285d2b48 /bsp/gd32105c-eval/Libraries/SConscript
parent2324794825378ddab7b058b14bbeb54dc64b4f5c (diff)
[bsp] remove gd32 in the root
Diffstat (limited to 'bsp/gd32105c-eval/Libraries/SConscript')
-rw-r--r--bsp/gd32105c-eval/Libraries/SConscript33
1 files changed, 0 insertions, 33 deletions
diff --git a/bsp/gd32105c-eval/Libraries/SConscript b/bsp/gd32105c-eval/Libraries/SConscript
deleted file mode 100644
index b77e069f46..0000000000
--- a/bsp/gd32105c-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('GD32F10x_standard_peripheral/Source/*.c')
-src += [cwd + '/CMSIS/GD/GD32F10x/Source/system_gd32f10x.c']
-
-#add for startup script
-if rtconfig.PLATFORM in ['gcc']:
- src += [cwd + '/CMSIS/GD/GD32F10x/Source/GCC/startup_gd32f10x_cl.S']
-elif rtconfig.PLATFORM in ['armcc', 'armclang']:
- src += [cwd + '/CMSIS/GD/GD32F10x/Source/ARM/startup_gd32f10x_cl.s']
-elif rtconfig.PLATFORM in ['iccarm']:
- src += [cwd + '/CMSIS/GD/GD32F10x/Source/IAR/startup_gd32f10x_cl.s']
-
-path = [
- cwd + '/CMSIS/GD/GD32F10x/Include',
- cwd + '/CMSIS',
- cwd + '/GD32F10x_standard_peripheral/Include',]
-
-if GetDepend(['RT_USING_BSP_USB']):
- path += [cwd + '/GD32F10x_usbfs_driver/Include']
- src += [cwd + '/GD32F10x_usbfs_driver/Source']
-
-CPPDEFINES = ['USE_STDPERIPH_DRIVER', 'GD32F10X_CL']
-
-group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
-
-Return('group')