diff --git a/peripherals/sensors/vl53l0x/Kconfig b/peripherals/sensors/vl53l0x/Kconfig index b84fe91110..31807ff112 100644 --- a/peripherals/sensors/vl53l0x/Kconfig +++ b/peripherals/sensors/vl53l0x/Kconfig @@ -10,9 +10,15 @@ if PKG_USING_VL53L0X string default "/packages/peripherals/sensors/vl53l0x" - config PKG_USING_VL53L0X_SAMPLE - bool "Enable vl53l0x sample" + config PKG_VL53L0X_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework" + select RT_USING_SENSOR default n + if PKG_VL53L0X_USING_SENSOR_V1 + config PKG_VL53L0X_USING_SENSOR_V1_SAMPLE + bool "Enable vl53l0x sensor_v1 divce framework sample" + default n + endif choice prompt "Version"