Community news, upcoming events and general discussions
Threads: 34 Posts: 86
Get technical support from the community
Threads: 1332 Posts: 7252
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 35 Posts: 117
Share and discuss community member projects
Threads: 76 Posts: 336
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.