Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1397 Posts: 7498
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 76 Posts: 337
hello everybody, I would like to use the API of the vl53l0x sensor from ST Microelectronics. Unfortunately, I get an error message (no such file or directory) when building the program if I want to include the "VL53L0X_api.h". The file is stored in the workspace under "... \ SDK \ xdk110 \ Libraries \ FreeRTOS \ 3rd-party \ third_party \ mcu_vendor \ st \ stm32l475_discovery \ BSP \ Components \ vl53l0x". can someone help me to integrate the file?
the easiest way is if you move the contents of the vI53I0x folder into the source folder and then adjust the make file accordingly. But I suspect that there will be conflicts because the XDK is not an ST platform and you would have to adjust the HAL.
I have moved the contents of the VL53L0X folder into the source folder and it works. But as you predicted there is another problem with the VL53L0Xand the XDK. Do you have an idea how to implement the sensor to read it with the XDK via I2C?
Or has somebody worked with the VL53L0X or similar sensor operating with the XDK.