cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L3CX API With stm32l476rg error while building code

PMOHO.1
Associate II

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 discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Julien NGUYEN
ST Employee

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


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.