mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
[bsp] add spackfun-redv bsp
This commit is contained in:
18
bsp/sparkfun-redv/applications/SConscript
Normal file
18
bsp/sparkfun-redv/applications/SConscript
Normal 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')
|
||||
Reference in New Issue
Block a user