diff --git a/peripherals/sensors/df220/Kconfig b/peripherals/sensors/df220/Kconfig index 396149880c..e2b2a3ff12 100755 --- a/peripherals/sensors/df220/Kconfig +++ b/peripherals/sensors/df220/Kconfig @@ -1,4 +1,3 @@ - # Kconfig file for package df220 menuconfig PKG_USING_DF220 bool "df220 sensor driver package, support: force sensor." @@ -10,6 +9,11 @@ if PKG_USING_DF220 string default "/packages/peripherals/sensors/df220" + config PKG_DF220_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework" + select RT_USING_SENSOR + default n + choice prompt "Version" default PKG_USING_DF220_LATEST_VERSION @@ -29,4 +33,3 @@ if PKG_USING_DF220 default "latest" if PKG_USING_DF220_LATEST_VERSION endif - diff --git a/peripherals/sensors/gy271/Kconfig b/peripherals/sensors/gy271/Kconfig index 7d4b3aadfc..7ee1eeb6ed 100644 --- a/peripherals/sensors/gy271/Kconfig +++ b/peripherals/sensors/gy271/Kconfig @@ -10,6 +10,11 @@ if PKG_USING_GY271 string default "/packages/peripherals/sensors/gy271" + config PKG_HONEY_GY271_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework" + select RT_USING_SENSOR + default n + choice prompt "Version" default PKG_USING_GY271_LATEST_VERSION diff --git a/peripherals/sensors/hdc1000/Kconfig b/peripherals/sensors/hdc1000/Kconfig index b06e5a8d57..18f0100273 100644 --- a/peripherals/sensors/hdc1000/Kconfig +++ b/peripherals/sensors/hdc1000/Kconfig @@ -11,6 +11,10 @@ if PKG_USING_HDC1000 string default "/packages/peripherals/sensors/hdc1000" + config PKG_HDC1000_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework" + select RT_USING_SENSOR + default n choice prompt "Version" default PKG_USING_HDC1000_LATEST_VERSION diff --git a/peripherals/sensors/hmc5883/Kconfig b/peripherals/sensors/hmc5883/Kconfig index ba5c80515c..14d74272ce 100644 --- a/peripherals/sensors/hmc5883/Kconfig +++ b/peripherals/sensors/hmc5883/Kconfig @@ -9,6 +9,10 @@ if PKG_USING_HMC5883 string default "/packages/peripherals/sensors/hmc5883" + config PKG_INTF_HMC5883_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework" + select RT_USING_SENSOR + default n choice prompt "Version" default PKG_USING_HMC5883_LATEST_VERSION