Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

vl53l1x out of tree

Hello 

The issue I am facing is with configuration setup on an out of tree sensor vl53l1x.  

This driver requires the st hal module api which is located at  \ncs\v2.2.0\modules\hal\st\sensor\vl53l1x

Everything appears to be compiling fine and then I get an error that the st-hal module is looking for vl53l1_types.h
which resides in the out of tree drivers folder.  

I have tried, unsuccessfully, to get that include directory visible to that module but I just cannot seem to figure it out.  

In the drivers CMakeLists.txt 

zephyr_library_include_directories(.)

Also to note, if I put this driver in tree, everything compiles and links fine but this has to be out of tree to check into source control. 

Parents Reply Children
Related