You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
666 B
22 lines
666 B
import rtconfig
|
|
Import('RTT_ROOT')
|
|
from building import *
|
|
|
|
# get current directory
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
|
|
if GetDepend('USE_MA35D1_SUBM'):
|
|
src += ['Nuvoton/MA35D1/Source/system_ma35d1_subm.c']
|
|
if rtconfig.CROSS_TOOL == 'gcc':
|
|
src = src + ['Nuvoton/MA35D1/Source/GCC/startup_ma35d1_subm.S']
|
|
elif rtconfig.CROSS_TOOL == 'keil':
|
|
src = src + ['Nuvoton/MA35D1/Source/ARM/startup_ma35d1_subm.s']
|
|
elif rtconfig.CROSS_TOOL == 'iar':
|
|
src = src + ['Nuvoton/MA35D1/Source/IAR/startup_ma35d1_subm.s']
|
|
|
|
path = [cwd + '/Nuvoton/MA35D1/Include',]
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
|
|
|
Return('group')
|
|
|