2025-03-03 5:40 PM
Hello,
I am currently working on a project using CUBEIDE.
However, I encountered an issue where modifications made in the IOC file do not reflect in the generated code. I would appreciate any advice or suggestions on how to resolve this problem.
Project Copying Process:
Created and worked on the project on Computer A.
Copied the project to Computer B.
The project folder was copied entirely via USB from A to B.
Opened the project on Computer B using "Open Project from File System..." → Directory.
Has anyone experienced a similar issue? How can I make the IOC file modifications apply correctly to the code?
Thank you in advance for your help!
2025-03-03 11:29 PM
Hello @User.72 ,
First let me thank you for posing and welcome to the ST Community.
For more investigation, I suggest that you provide your Ioc.File.
Thanks.
Mahmoud
2025-03-05 3:39 PM
2025-03-05 11:27 PM
Hello @User.72 ,
Further to your comment, and through STM32CubeIDE 1.18, I am able to enable UART2 and the code is generated successfully.
After enabling UART2, I suggest that you click [Ctrl+S] to generate the code.
Thanks.
Mahmoud
2025-03-06 4:40 PM
2025-03-11 12:47 AM
When can I expect to receive an answer to my question?
2025-03-11 2:00 AM
Hello @User.72 ,
You can notice through this video that if you disable USART2, changes are well applied into the main.c.
Thanks.
Mahmoud
2025-03-11 4:09 PM
Thank you for your response.
In the video you uploaded, I can see that the code is applied correctly.
However, what I’m curious about is why the changes are not reflected in my code.
When I copy the entire project folder and run it on another computer, the same issue occurs as shown in the video I uploaded. (The issue occurs consistently on all computers – tested on five different devices.)