rt-thread-official/bsp/sparkfun-redv/freedom-e-sdk/SConscript

21 lines
632 B
Python
Raw Permalink Normal View History

2020-10-31 15:40:38 +08:00
# RT-Thread building script for component
Import('rtconfig')
Import('RTT_ROOT')
from building import *
cwd = GetCurrentDir()
src = [ 'bsp/drivers/plic/plic_driver.c',
'bsp/env/start.S',
2023-01-09 10:14:23 +08:00
'bsp/env/freedom-e300-hifive1/init.c']
2020-10-31 15:40:38 +08:00
CPPPATH = [ cwd + '/bsp/drivers', cwd + '/bsp/drivers/fe300prci', cwd + '/bsp/drivers/plic',
cwd + '/bsp/env', cwd + '/bsp/env/freedom-e300-hifive1',
cwd + '/bsp/include', cwd + '/bsp/include/sifive', cwd + '/bsp/include/sifive/devices']
CPPDEFINES = []
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
Return('group')