Files
luban-lite/bsp/examples/test-spinor/SConscript
刘可亮 3e10f578d3 v1.2.2
2025-10-21 13:59:50 +08:00

19 lines
524 B
Python
Executable File

Import('AIC_ROOT')
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
CPPPATH = []
src = []
if GetDepend('RT_USING_FINSH'):
if GetDepend('FINSH_USING_MSH') and GetDepend('RT_USING_FAL'):
src = Glob('test_fal.c')
if GetDepend('AIC_EXAMPLE'):
src += Glob('fal_power_loss_protection.c')
if GetDepend('RT_USING_SFUD') and GetDepend('RT_USING_SPI'):
src += Glob('test_sfud.c')
group = DefineGroup('test-spinor', src, depend = [''], CPPPATH = CPPPATH)
Return('group')