Skip to content

Commit 886ce43

Browse files
authored
Merge pull request #3661 from whik/whik_sf2
add support for Microsemi SmartFusion2 family FPGA
2 parents 3700283 + 2d71df5 commit 886ce43

Some content is hidden

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

66 files changed

+21923
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ env:
138138
- RTT_BSP='xplorer4330/M4' RTT_TOOL_CHAIN='sourcery-arm'
139139
- RTT_BSP='at32/at32f403a-start' RTT_TOOL_CHAIN='sourcery-arm'
140140
- RTT_BSP='at32/at32f407-start' RTT_TOOL_CHAIN='sourcery-arm'
141+
- RTT_BSP='smartfusion2' RTT_TOOL_CHAIN='sourcery-arm'
141142

142143
stage: compile
143144
script:

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')

0 commit comments

Comments
 (0)