Skip to content

Commit 5641fbd

Browse files
authored
[rsoc][sensor_v1]da270 pkg adapt sensor_v1 frame (#1816)
1 parent 4104040 commit 5641fbd

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

peripherals/sensors/bmi088/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ if PKG_USING_BMI088
88
config PKG_BMI088_PATH
99
string
1010
default "/packages/peripherals/sensors/bmi088"
11+
12+
config PKG_BMI088_USING_SENSOR_V1
13+
bool "Enable sensor_v1 divce framework"
14+
select RT_USING_SENSOR
15+
default n
1116

1217
choice
1318
prompt "Version"

peripherals/sensors/bmi160_bmx160/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ if PKG_USING_BMI160_BMX160
1919
config BMX160_USING_MAG
2020
bool "Enable BMX160 magnetometer"
2121
default n
22+
23+
config PKG_BMI160_BMX160_USING_SENSOR_V1
24+
bool "Enable sensor_v1 divce framework"
25+
select RT_USING_SENSOR
26+
default n
2227

2328
choice
2429
prompt "Version"

peripherals/sensors/bmp180/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ if PKG_USING_BMP180
1414
bool "Enable bmp180 sample"
1515
default n
1616

17+
config PKG_BMP180_USING_SENSOR_V1
18+
bool "Enable sensor_v1 divce framework"
19+
select RT_USING_SENSOR
20+
default n
1721
choice
1822
prompt "Version"
1923
default PKG_USING_BMP180_LATEST_VERSION

peripherals/sensors/da270/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ if PKG_USING_DA270
1414
bool "Enable da270 acce"
1515
default y
1616

17+
config PKG_DA270_USING_SENSOR_V1
18+
bool "Enable sensor_v1 divce framework"
19+
select RT_USING_SENSOR
20+
default n
21+
1722
choice
1823
prompt "Version"
1924
default PKG_USING_DA270_LATEST_VERSION

0 commit comments

Comments
 (0)