Loading...
 
Skip to main content

System Workbench for STM32


How to modify mcu to an existing cube Mx file (*.ioc)

Hi,

I have a project generated from project1.ioc cubemx file. Project1 uses STM32L031F4 (16Kb).

Now in project2 I want to use same configuration used in project1 but with other mcu (STM32L031F6) with 32kB.

My question is... how could I modify project1.ioc to set STM32L031F6. Must I generate a new project from zero to generate project2.ioc with 32Kb part ?

Thank you,
Asier.

Hi Asier,

I think it is better to generate a new project from CubeMX. I don't think you can change the MCU from the ioc file because there are compilation flags / or code that might change.

Regards,
Kevin
(ac6)