mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-16 00:58:55 +00:00
24 lines
690 B
Python
24 lines
690 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')
|
|
|
|
if GetDepend('AIC_EXAMPLE') and GetDepend('RT_USING_FINSH'):
|
|
src += Glob('test_spiflash_dev_example.c')
|
|
src += Glob('spi_dev_example.c')
|
|
src += Glob('qspi_dev_example.c')
|
|
|
|
group = DefineGroup('test-qspi', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|