vl53l1x driver issue with nrf5340 and ncs 2.9.0

Hi,

I have an application build using ncs 2.9.0 and a custom board using the nrf5340.

The issue is that I am migrating to 2.9.0 from 2.3.0  In 2.3.0 there was no included driver for vl53l1x and we included the driver in our build.  we used

CONFIG_VL53L1X=y and included the directories in the CMakeLists file.  it all worked perfectly.  Now migration to 2.9.0 happens and we now get duplicate definitions because that driver is now included in the zephyr directories.  
So im left with a few options, which i know how to do. 
1) Keep the config and somehow make sure the build system doesnt use the zephyr version of the driver
2) create a new CONFIG_VL53L1X_PRIV config option to include our own slightly modified version of the driver (i dont know how to do this, im still learning about how hardware definitions work)
3) use the new driver which im willing to do but have a few questions because its not building properly
For option 3 (Preferred) The problem i have is that i cant seem to find the include file #include <zephyr/drivers/sensor/...> doesn't find the driver directory  I found it under sensor/st/vl53l1x but that doesn't seem to work. the intellisense doesn't find it and it throws a build error that it cant find the include file. (
#include <zephyr/drivers/sensor/st/vl53l1x/vl53l1x.h>)
I'm not sure what I'm missing here. i would have thought including the header would be simple enough but its not finding it.
Thanks for the help
Brian
Related