Files
luban-lite/kernel/freertos/SConscript

18 lines
502 B
Python
Raw Normal View History

2024-01-27 08:47:24 +08:00
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
path = [cwd + '/include']
path += [cwd + '/portable/GCC/RISC-V']
path += [cwd + '/portable/GCC/RISC-V/chip_specific_extensions/RV32I_CLINT_no_extensions']
src = Glob('*.c')
src += Glob('portable/MemMang/heap_5.c')
src += Glob('portable/GCC/RISC-V/*.c')
src += Glob('portable/GCC/RISC-V/*.S')
CPPDEFINES = []
group = DefineGroup('freertos', src, depend = ['KERNEL_FREERTOS'], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')