RT-Thread_v4.1.1
This commit is contained in:
14
components/drivers/sensors/SConscript
Normal file
14
components/drivers/sensors/SConscript
Normal file
@ -0,0 +1,14 @@
|
||||
# SConscript for sensor framework
|
||||
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = ['sensor.c']
|
||||
CPPPATH = [cwd, cwd + '/../include']
|
||||
|
||||
if GetDepend('RT_USING_SENSOR_CMD'):
|
||||
src += ['sensor_cmd.c']
|
||||
|
||||
group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
Reference in New Issue
Block a user