cancel
Showing results for 
Search instead for 
Did you mean: 

I have a computer which will not re-generate code after changing something in IOC file. Yet my home laptop will re-generate. I have uninstalled and reinstalled with same result. Even updated from 1.2.0 to 1.3.0.

BBeat
Associate
 
2 REPLIES 2
TPeča.1
Associate II

Check the STM32CubeIDE/your_workspace/.metadata/.ide.log , code generator prints out some error information there, maybe by comparing the log file between your computers (using a diff tool) can give you an idea what's wrong. You can delete the existing file to get a trace of a single session.

You can also try bumping the Threshold value from INFO to DEBUG in STM32CubeIDE/your_workspace/.metadata/.log4j.xml

TPeča.1
Associate II

I've also had an issue with code generation when the workspace configuration got corrupted (this happens more often than you think).

In that case, try removing the whole STM32CubeIDE/your_workspace/.metadata folder. You will loose all customizations to Eclipse settings + you need to re-add all projects back to the workspace, but this puts it back into a sane state.