summaryrefslogtreecommitdiff
path: root/bsp/nrf51822/Libraries/SConscript
diff options
context:
space:
mode:
authorsupperthomas <[email protected]>2021-10-25 22:05:14 +0800
committersupperthomas <[email protected]>2021-10-25 22:05:14 +0800
commitd709e7aa2b3945916d1297e55d45b10676558f63 (patch)
treec837fab37e5d5ec3b8fd5b5191938c1430ae7619 /bsp/nrf51822/Libraries/SConscript
parent634e5341a6ee73001988216962cda398a42b1ce4 (diff)
remove the bsp of nrf51822
Diffstat (limited to 'bsp/nrf51822/Libraries/SConscript')
-rw-r--r--bsp/nrf51822/Libraries/SConscript27
1 files changed, 0 insertions, 27 deletions
diff --git a/bsp/nrf51822/Libraries/SConscript b/bsp/nrf51822/Libraries/SConscript
deleted file mode 100644
index 1fd979844b..0000000000
--- a/bsp/nrf51822/Libraries/SConscript
+++ /dev/null
@@ -1,27 +0,0 @@
-import rtconfig
-Import('RTT_ROOT')
-from building import *
-
-# get current directory
-cwd = GetCurrentDir()
-
-# The set of source files associated with this SConscript file.
-src = Split("""
-nrf51822/Source/templates/system_nrf51.c
-""")
-
-#add for Startup script
-if rtconfig.CROSS_TOOL == 'gcc':
- src = src + ['nrf51822/Source/templates/arm/arm_startup_nrf51.s']
-elif rtconfig.CROSS_TOOL == 'keil':
- src = src + ['nrf51822/Source/templates/arm/arm_startup_nrf51.s']
-elif rtconfig.CROSS_TOOL == 'iar':
- src = src + ['nrf51822/Source/templates/arm/arm_startup_nrf51.s']
-
-path = [cwd + '/CMSIS/Include',
- cwd + '/nrf51822/Include']
-
-CPPDEFINES = ['USE_STDPERIPH_DRIVER', 'NRF51']
-group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
-
-Return('group')