Skip to main content
PMOHO.1
Associate II
March 23, 2021
Question

VL53L3CX API With stm32l476rg error while building code

  • March 23, 2021
  • 1 reply
  • 980 views

Hi folks

,Im using VL53L3CX API for Stm32l476rg .Im generating code through CubeMx on keilinclude all .h & .c file from core & platform of api in inc & src folder of Project,also giving path .I got some error in Platform files & in main code .Please find in description. 

error1> cannot open source input file windows.h

error2>Cannot open source input file "vl53lx_hist_funcs.h", "vl53lx_xtalk.h"

In main code main.c got error struct unnamed has no field i2c handle & Dev->I2cDevAddr

Please Let me know any solution ASAP .THANKS IN ADVANCE..

This topic has been closed for replies.

1 reply

Julien NGUYEN
ST Employee
March 23, 2021

Hi,

I would be easier to use the precompiled projects for Keil, IAR and STM32CubeIDE by downloading the X-CUBE-53L3A2 software pack here

https://www.st.com/content/st_com/en/products/ecosystems/stm32-open-development-environment/stm32cube-expansion-software/stm32-ode-sense-sw/x-cube-53l3a2.html

For your information the CUBE-TOF1 SW pack will be released next week. It will allow you create even more easily the code example for any Nucleo 64 .

Thanks,

Julien