You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
326 B
14 lines
326 B
# 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')
|
|
|