Skip to content

Commit 42822aa

Browse files
authored
[sensor_v1] adapt sgp30 (#1801)
1 parent 1f8a9e9 commit 42822aa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

peripherals/sensors/sgp30/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ if PKG_USING_SGP30
1010
string
1111
default "/packages/peripherals/sensors/sgp30"
1212

13+
config PKG_SGP30_USING_SENSOR_V1
14+
bool "Enable sensor_v1 divce framework"
15+
select RT_USING_SENSOR
16+
default y
17+
18+
if PKG_SGP30_USING_SENSOR_V1
19+
config PKG_SGP30_USING_SENSOR_V1_SAMPLE
20+
bool "Enable sgp30 sensor_v1 sample"
21+
default y
22+
endif
23+
1324
choice
1425
prompt "Select I2C address"
1526
default PKG_USING_SGP30_I2C_ADDR

0 commit comments

Comments
 (0)