Skip to main content
Associate
August 20, 2024
Solved

Generate an .ioc file from an existing STM32CubeIDE project

  • August 20, 2024
  • 2 replies
  • 1441 views

An Stm32 ide project was made in our company. The person who did it left the company. We can't find the ioc file (as we want to change some things in the mx project). Is there a way to recreate the ioc from the existing CubeIDE project?

 

Thanks in advance.

Best answer by Peter BENSCH

Welcome @AlbertG, to the community!

This should be possible in principle, at least for the basic settings, but requires examining the settings of the STM32 in question, as well as the program settings (init sequence, etc.) and then entering them in a new CubeMX project. Depending on the STM32 and the scope of the programme, this may take some time.

Good luck!

Regards
/Peter

2 replies

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
August 20, 2024

Welcome @AlbertG, to the community!

This should be possible in principle, at least for the basic settings, but requires examining the settings of the STM32 in question, as well as the program settings (init sequence, etc.) and then entering them in a new CubeMX project. Depending on the STM32 and the scope of the programme, this may take some time.

Good luck!

Regards
/Peter

Andrew Neil
Super User
August 20, 2024

@AlbertG wrote:

Is there a way to recreate the ioc from the existing CubeIDE project?


Not automatically.

As @Peter BENSCH said, you would have to enter all the details manually from the existing code.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.