cancel
Showing results for 
Search instead for 
Did you mean: 

Same project, two different ioc files

Manuel Ferrero
Associate III

I have a working project with its .ioc file.

Now I need to port the project codebase to another project that uses exactly the same processor, but with different pinout: the peripherals in the project will be the same, mapped on some other pins.

I need to have a complete codebase with its ioc file for both projects.

What is the best course of action to duplicate the original project?

It would be ok if I'll have to mess around with cubeMX to manage both ioc files.

1 ACCEPTED SOLUTION

Accepted Solutions

Within the CubeIDE Project Explorer, you can copy & paste a project - that will duplicate the project, including its .ioc file.

 

View solution in original post

4 REPLIES 4
Andrew Neil
Evangelist III

I think you can only have one .ioc per project.

This is how I handled having common code for two (or more) different hardware targets:

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/same-touchgfx-project-for-multiple-cubemx-files-in-the-same/m-p/672534/highlight/true#M37503

It's two projects (each with its own .ioc file) sharing a 'common' code folder.

I don't want two iocs for one project, I want to duplicate one project and then change its ioc and in the end have two projects.

Within the CubeIDE Project Explorer, you can copy & paste a project - that will duplicate the project, including its .ioc file.

 

I'll try, thanks.