Skip to content

Commit e02f1af

Browse files
authored
Merge pull request #2256 from foss-for-synopsys-dwc-arc-processors/arc_support
[bsp][synopsys] add the support of synopsys arc emsk
2 parents d4a09ef + 50d7063 commit e02f1af

Some content is hidden

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

68 files changed

+15781
-0
lines changed

bsp/synopsys/embarc/SConscript

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
from building import *
2+
3+
cwd = GetCurrentDir()
4+
5+
embarc_arc_hal_SRCS = Split("""
6+
arc/arc_cache.c
7+
arc/arc_exc_asm.S
8+
arc/arc_exception.c
9+
arc/arc_timer.c
10+
arc/startup/arc_cxx_support.c
11+
arc/startup/arc_startup.S
12+
device/designware/uart/dw_uart.c
13+
device/designware/gpio/dw_gpio.c
14+
""")
15+
16+
17+
ASFLAGS = ' -I' + cwd
18+
19+
src = embarc_arc_hal_SRCS
20+
21+
path = [cwd,
22+
cwd + '/arc',
23+
cwd + '/arc/startup'
24+
]
25+
26+
group = DefineGroup('embarc', src, depend = [], CPPPATH = path, ASFLAGS = ASFLAGS)
27+
28+
Return('group')

0 commit comments

Comments
 (0)