In CubeIde: IOC file behavior after code generation !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 9: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!
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
-
STM32U5 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 9:27 AM
And what ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 9: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?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 10:16 AM
I mean after generating is ioc marked / edited with generation info and result , but yes ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 4: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-17 2:42 AM
So not thought-through for revision control, then?
:persevering_face:
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-17 4:16 AM
Looks so. There were many complaints that .ioc files are not friendly to revision control. No sign of progress.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 6: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!
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 7:10 AM
When the code generation is in progress, a modal window displays the progress, it is impossible to modify anything
