blob: 8b7a049e5e2e707b75dac1ab5ed4ae9354bd5255 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = []
CPPPATH = [cwd, cwd + '/..', cwd + '/../sfud/inc']
if GetDepend(['RT_UTEST_SPI_LOOPBACK']):
src += ['spi_loopback_tc.c']
if GetDepend(['RT_UTEST_SPI_FLASH']):
src += ['spi_flash_tc.c']
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES', 'RT_USING_SPI'], CPPPATH = CPPPATH)
Return('group')
|