stm32f103-template/rt-thread/components/drivers/sensor/SConscript

15 lines
331 B
Python
Raw Normal View History

2023-05-09 22:30:49 +08:00
# 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('DeviceDrivers', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
Return('group')