AnsweredAssumed Answered

CubeMx problem Stm32L476RG with expansion board X-Nucleo-53L0A1

Question asked by Gp3 Reverse on May 11, 2018
Latest reply on May 21, 2018 by Gp3 Reverse

Hi everyone,

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.