1# VL53L0X time of flight sensor configuration options 2 3# Copyright (c) 2017 STMicroelectronics 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig VL53L0X 7 bool "VL53L0X time of flight sensor" 8 default y 9 depends on DT_HAS_ST_VL53L0X_ENABLED 10 depends on ZEPHYR_HAL_ST_MODULE 11 select I2C 12 select HAS_STLIB 13 help 14 Enable driver for VL53L0X I2C-based time of flight sensor. 15 16config VL53L0X_PROXIMITY_THRESHOLD 17 int "Proximity threshold in millimeters" 18 default 100 19 depends on VL53L0X 20 help 21 Threshold used for proximity detection when sensor is used with SENSOR_CHAN_PROX. 22 23config VL53L0X_RECONFIGURE_ADDRESS 24 bool "Support reconfigurable sensor address" 25 depends on VL53L0X 26 help 27 Enable support for reconfiguring the sensor address at runtime. 28 When this option is enabled, all sensors declared in the device tree 29 must have an xshut-gpio property. 30 31 All sensors are disabled during initialization. When reading the first 32 value from a sensor, it is powered up and its I2C address is reconfigured 33 from the manufacturer default (0x29) to the address specified in the 34 device tree. 35