[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698)

This commit is contained in:
Man, Jianting (Meco)
2023-06-18 22:36:53 -04:00
committed by GitHub
parent 1758de1be1
commit 704554f1f9
12 changed files with 1593 additions and 292 deletions
+12
View File
@@ -0,0 +1,12 @@
# SConscript for sensor framework
from building import *
src = ['sensor_v2.c']
if GetDepend('RT_USING_SENSOR_CMD'):
src += ['sensor_cmd.c']
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SENSOR_V2'])
Return('group')