Changing MCU in CubeMX and CubeIDE, Not all settings importing
I've read other posts and the relevant app notes about this and tried some testing on my side but still not finding an easy or even effective way to do this.
I have a CubeIDE project built on a CubeMX ioc file for STM32G0B1KEU6 and want to change to STM32G0B1KCU6 (smaller flash). Same package, same core, same pinout, just smaller flash size. Should be easy.
CubeIDE 2.1.0
CubeMX 6.17.0
I open the CubeIDE project and then the existing ioc file within that.
I click Pinout -> List Pinout Compatible MCU's and select new the MCU. I click Import.
It creates a new ioc file (instead of updating the existing file within this project which is what I actually want) and attempts to import all of the existing ioc project settings.
It fails to import DAC and USB settings for some reason which I now need to go and manually edit and hope that everything else is correct. It is completely unclear what has and has not ported over successfully so I'll need to very carefully review everything.
Now I want to change the CubeIDE project to compile and run from this new file.
Do I really need to completely re-make a new project and carefully copy everything over? Is there no way to easily change the target MCU in CubeIDE? it seems to be a very common use case.
