cancel
Showing results for 
Search instead for 
Did you mean: 

Hi. I am trying to use the STEVAL-IDP003V1 module and have a compiler error for PROXIMITY SENSOR (the same for accelerometer and for inclinometer sensor). It seems that one struct definition is missing. Please, help me.

GRans.1
Associate

I have tried to compile the FW in the STSW-IDP003IOLDS library for temperature sensor without errors.

Trying to compile, with IAR, for other sensors I always have an error about a missing struct definition.

For example, the error is "Error[Pe020]: identifier "SENSOR_StructTypedef PRX" is undefined for the proximity sensor.

Where can I find the structure in order to complete the compilation?

1 REPLY 1
John E KVAM
ST Employee

I'm not sure which proximity sensor this code is talking about. That struct is not in any of the Time-of-Flight stuff I have.

perhaps if you gave me the name of the file that was generating this error, I could help you.

But I need more information.

Sorry,

  • john

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. It helps the next guy.