cancel
Showing results for 
Search instead for 
Did you mean: 

Code has to be re-generated whenever I re-open the IDE

pierpaolo
Associate II

I'm using the P-NUCLEO-WB55 development board, with only USB (CDC Device) and USART1 enabled/configured through the STM IDE.

The code is generated, I add my own code, I compile, program, test it, and everything works.

However, whenever I close and open the IDE again and try to re-build the project, some STM USB files cannot be found anymore and the build fails.

To fix this, I have to re-open the IDE configurator and let it re-generate the code. Then the build doesn't fail anymore (unless I close and re-open the IDE...).

I have checked what happens after I re-open the IDE, and for some reason the .mk files of the project are different (they are missing the USB files inclusion).

This only happens when I re-open the IDE, and try to build the project (without doing any other change).

1 REPLY 1
MikeDB
Lead

I've also found S32IDE also sometimes forgets the screen settings when being reopened and the (useless for us with poor eyesight) toolbar reappears.