Skip to main content
GRans.1
Visitor II
October 2, 2020
Question

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.

  • October 2, 2020
  • 1 reply
  • 704 views

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?

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
October 5, 2020

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
If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.