From d8aa99a29c47da520986dcd79fff9861d97ca6ed Mon Sep 17 00:00:00 2001 From: Wayne Ren Date: Wed, 23 Jan 2019 17:29:54 +0800 Subject: [bsp][synopsys] add the support of synopsys arc emsk * the initial support of synopsys designware arc processor * the initial support of synospsy ARC EM Starter Kit * the bsp code is based on embarc which is a common SDK for all synopsys ARC-based boards * use "scons --gdb" to debug emsk with em9d configuration * for detailed board information, pls go embarc.org Signed-off-by: Wayne Ren --- bsp/synopsys/embarc/SConscript | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bsp/synopsys/embarc/SConscript (limited to 'bsp/synopsys/embarc/SConscript') diff --git a/bsp/synopsys/embarc/SConscript b/bsp/synopsys/embarc/SConscript new file mode 100644 index 0000000000..9e086739af --- /dev/null +++ b/bsp/synopsys/embarc/SConscript @@ -0,0 +1,28 @@ +from building import * + +cwd = GetCurrentDir() + +embarc_arc_hal_SRCS = Split(""" +arc/arc_cache.c +arc/arc_exc_asm.S +arc/arc_exception.c +arc/arc_timer.c +arc/startup/arc_cxx_support.c +arc/startup/arc_startup.S +device/designware/uart/dw_uart.c +device/designware/gpio/dw_gpio.c +""") + + +ASFLAGS = ' -I' + cwd + +src = embarc_arc_hal_SRCS + +path = [cwd, + cwd + '/arc', + cwd + '/arc/startup' + ] + +group = DefineGroup('embarc', src, depend = [], CPPPATH = path, ASFLAGS = ASFLAGS) + +Return('group') -- cgit v1.3.1