Files
luban-lite-t3e-pro/bsp/examples_bare/test-hrtimer/SConscript

17 lines
473 B
Python
Raw Normal View History

2024-01-27 08:47:24 +08:00
Import('AIC_ROOT')
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
CPPPATH = []
src = []
if GetDepend('KERNEL_BAREMETAL') and GetDepend('AIC_HRTIMER_DRV_TEST'):
2024-09-30 17:06:01 +08:00
if GetDepend('AIC_HRTIMER_DRV_V10') or GetDepend('AIC_HRTIMER_DRV_V11'):
src += Glob('test_hrtimer.c')
elif GetDepend('AIC_HRTIMER_DRV_V12'):
src += Glob('test_hrtimer_pwm.c')
2024-01-27 08:47:24 +08:00
group = DefineGroup('test-hrtimer', src, depend = [''], CPPPATH = CPPPATH)
Return('group')