Skip to main content
BBeat
Visitor II
June 3, 2020
Question

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.

  • June 3, 2020
  • 2 replies
  • 785 views

..

This topic has been closed for replies.

2 replies

TPeča.1
Associate
June 7, 2020

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
June 7, 2020

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.