Part of a customer POC that served its purpose back then. I do plan on improving it in the coming months for another project which is production. Note that project will not be ESP-IDF, but rather Nordic NCS (Zephyr).
This package allows for inclusion of the VL53L1X TOF sensor driver provided by STMicroelectronics in your Espressif ESP-IDF projects as an ESP-IDF component.
- Copy the full st_vl53l1x folder into your IDF project's "components" folder
- Add "st_vl53l1x" to your main folder's CMakeList.txt REQUIRES list (see example below).
- Note that driver component is required for I2C support
idf_component_register(
SRCS "main.c" "projUtility.c"
INCLUDE_DIRS "."
REQUIRES ${requires} nvs_flash esp_timer esp_wifi lwip esp-tls esp_http_client driver st_vl53l1x
EMBED_TXTFILES memfault_root_cert.pem
)