2022-05-16 09:10 AM
With STM32CubeIde 1.9.0, open and change some settings in the IOC file, save your changes, and then click yes when a popup asks you to generate the code. At the end of the code generation, the IOC file is marked again as an unsaved file!
2022-05-16 09:27 AM
And what ?
2022-05-16 09:59 AM
@MM..1 : I think the question is: "Why does the IOC file get marked as 'unsaved' ("dirty") when it hasn't been edited?"
@MFred.2 : so has the IOC file actually changed?
2022-05-16 10:16 AM
I mean after generating is ioc marked / edited with generation info and result , but yes ...
2022-05-16 04:15 PM
> "Why does the IOC file get marked as 'unsaved' ("dirty") when it hasn't been edited?"
Changes in the view state are also saved in the .ioc file (zoom level, rotation of the chip view).
These changes do not affect code generation, can be discarded.
2022-05-17 02:42 AM
So not thought-through for revision control, then?
:persevering_face:
2022-05-17 04:16 AM
Looks so. There were many complaints that .ioc files are not friendly to revision control. No sign of progress.
2022-05-19 06:46 AM
I confirm the behavior (bug),
open and change some parameters in the IOC file, save your changes, regenerate the code, at this time the file is saved. At the end of the code generation, the IOC file is again marked as an unsaved file!
And when you compile your project, a pop up asks you again: "Do you want to generate code?".
it's endless end
2022-05-19 06:53 AM
but did you check if any changes were made by/during the generation process - as suggested above?
if so, then it's correct that the file has changed!
2022-05-19 07:10 AM
When the code generation is in progress, a modal window displays the progress, it is impossible to modify anything