rt-thread/components/drivers/sensor/v1/SConscript

13 lines
235 B
Python
Raw Normal View History

# SConscript for sensor framework
from building import *
src = ['sensor.c']
if GetDepend('RT_USING_SENSOR_CMD'):
src += ['sensor_cmd.c']
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SENSOR'])
Return('group')