diff options
| author | Man, Jianting (Meco) <[email protected]> | 2023-06-18 22:36:53 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-18 22:36:53 -0400 |
| commit | 704554f1f9966ee830907c7674a676e2ea94a29c (patch) | |
| tree | 42f2bf1212fbc96f7206a108cabd6c9673bfb237 /components/drivers/sensor/v2/SConscript | |
| parent | 1758de1be1a8ed48f0dff7d30efb38ee65f6111c (diff) | |
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698)
Diffstat (limited to 'components/drivers/sensor/v2/SConscript')
| -rw-r--r-- | components/drivers/sensor/v2/SConscript | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/components/drivers/sensor/v2/SConscript b/components/drivers/sensor/v2/SConscript new file mode 100644 index 0000000000..872b2cebaf --- /dev/null +++ b/components/drivers/sensor/v2/SConscript @@ -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') |
