blob: a59d57d951ac69a9d743bbfcfac53682c5d9bc0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
from building import *
src = []
if GetDepend('BSP_USING_GPIO'):
src += ['test_gpio.c']
if GetDepend('BSP_USING_CAN5') or GetDepend('BSP_USING_CAN6') or GetDepend('BSP_USING_CAN7') or GetDepend('BSP_USING_CAN8') or GetDepend('BSP_USING_CAN9'):
src += ['test_can.c']
if GetDepend('BSP_USING_UART'):
src += ['test_uart.c']
group = DefineGroup('utestcases', src, depend = ['RT_UTEST_DRIVERS_CORE'])
Return('group')
|