[bsp] add spackfun-redv bsp

This commit is contained in:
luhuadong
2020-10-31 15:40:38 +08:00
parent 06eafe3928
commit 554865a8a9
69 changed files with 5620 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'applications')
src = Glob('*.c')
src.append('led/led.c')
CPPPATH = [cwd,
str(Dir('#')),
os.path.join(str(Dir('#')), 'freedom-e-sdk/bsp/env'),
os.path.join(str(Dir('#')), 'freedom-e-sdk/bsp/env/freedom-e300-hifive1'),
os.path.join(str(Dir('#')), 'freedom-e-sdk/include/sifive/devices'),
os.path.join(cwd, 'led')]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
Return('group')