I'm working with STm32L476RG on the example that I've downloaded from the St official site about the Ranging Satellites (with the expansion board 53L0A1). The problem is, when I try to generate the code with CubeMx for Iar version 8.22.2, the result is this error:
"Error[Pe1696]: cannot open source file X-NUCLEO-53L0A1.h"
I think this problem can occur if the IAR project has a different version that the project was made on.
I tried the next procedure to add the missing file:
Project -> Options -> C/C++ compiler -> Preprocessor and add the directories where the files can be found.
But the problem is not solved, because there is a new similar error with an other missing file "mxconstant".
How can I solve this problem?
Thank you for attention and hoping that anyone can help me.