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.
19 lines
527 B
19 lines
527 B
5 months ago
|
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')
|