Skip to main content
User.72
Associate II
March 4, 2025
Question

Issue with IOC File Changes Not Reflecting in Code (CUBEIDE)

  • March 4, 2025
  • 1 reply
  • 953 views

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!

1 reply

Technical Moderator
March 4, 2025

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
User.72
User.72Author
Associate II
March 5, 2025

The problem is that when I open the IOC file in CUBEIDE and enable UART2, it is not reflected in the code.

Technical Moderator
March 6, 2025

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.

MahmoudBenRomdhane_0-1741245635855.pngMahmoudBenRomdhane_1-1741245705966.png

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.