Skip to content

Commit f6c4572

Browse files
committed
1.Add scons support
2.Add Kconfig file 3.Delete some unnecessary files and directories
1 parent 1731a6c commit f6c4572

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+6437
-4990
lines changed

bsp/smartfusion2/CMSIS/SConscript

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from building import *
2+
import rtconfig
3+
4+
cwd = GetCurrentDir()
5+
src = Glob('*.c')
6+
7+
if rtconfig.CROSS_TOOL == 'gcc':
8+
src += ['startup_gcc/startup_m2sxxx.s']
9+
10+
elif rtconfig.CROSS_TOOL == 'keil':
11+
src += ['startup_arm/startup_m2sxxx.s']
12+
13+
CPPPATH = [cwd]
14+
15+
group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH)
16+
17+
Return('group')

bsp/smartfusion2/CMSIS/hal/hal.h

Lines changed: 0 additions & 206 deletions
This file was deleted.

bsp/smartfusion2/CMSIS/hal/hal_assert.h

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)