Files
luban-lite-t3e-pro/bsp/examples/test-qspi/SConscript
刘可亮 661e71562d v1.1.1
2024-10-30 16:50:31 +08:00

19 lines
506 B
Python

Import('AIC_ROOT')
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
CPPPATH = []
src = []
if GetDepend('AIC_QSPI_DRV_TEST') and GetDepend('RT_USING_FINSH'):
src = Glob('test_qspidev.c')
src += Glob('test_spibit.c')
src += Glob('test_spi.c')
src += Glob('test_spi_async.c')
if GetDepend('AIC_QSPI_DRV_V11') and GetDepend('AIC_CHIP_D13X'):
src += Glob('test_spislave*.c')
group = DefineGroup('test-qspi', src, depend = [''], CPPPATH = CPPPATH)
Return('group')