Files
luban-lite/bsp/examples/test-gpio/SConscript

16 lines
396 B
Python
Raw Normal View History

2023-11-09 20:19:51 +08:00
Import('AIC_ROOT')
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
CPPPATH = []
src = []
if GetDepend('AIC_GPIO_DRV_TEST') and GetDepend('RT_USING_FINSH'):
2024-09-03 11:16:08 +08:00
src = Glob('test_gpio.c')
if GetDepend('AIC_GPIO_KEY_TEST') and GetDepend('RT_USING_FINSH'):
src = Glob('test_gpio_key.c')
2023-11-09 20:19:51 +08:00
group = DefineGroup('test-gpio', src, depend = [''], CPPPATH = CPPPATH)
Return('group')