cancel
Showing results for 
Search instead for 
Did you mean: 

How to change target device in STM32CubeMX

caleb
Associate III
Posted on December 13, 2014 at 00:19

How do I change the target device in STM32CubeMX?  Do I need to recreate the entire project and copy over the user sections?  or is there a simple way to do it?

Right now, I only want to change from

STM32F302R8T6 to 

STM32F302RCT6

but I don't see any way to manage it.  I understand I can modify the code/include/make files, but I'd have to do this every time a regenerated from STM32CubeMX.    Thanks,  -caleb  

2 REPLIES 2
Posted on December 13, 2014 at 01:31

EE put together my cube project and chose the wrong processor.  I went into .ioc file with textedit and changed the lines that referred to the wrong processor and cube believed me.

stm32cube-t
Senior III
Posted on January 08, 2015 at 16:28

Hello Caleb,

This feature will be provided in a next release (switching to another microcontroller).

For now, you need to recreate the project.

 You may modify the .ioc to change the target name there but this won't alway work.

Best regards