Files
luban-lite/bsp/peripheral/gyro/SConscript
刘可亮 11c97ef399 v1.2.1
2025-07-22 11:15:46 +08:00

17 lines
329 B
Python

Import('AIC_ROOT')
Import('PRJ_KERNEL')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = []
if GetDepend('AIC_GYRO_SC7A20H'):
CPPPATH.append(cwd)
CPPPATH.append(cwd + '/sc7a20h')
src += Glob('sc7a20h/*.c')
group = DefineGroup('gyro', src, depend = [''], CPPPATH = CPPPATH)
Return('group')