2021-02-15 11:46 AM
Hello,
I tried to change the board in my project from STM32G474CC to STM32G473CC. Both should be pin compatible. I've read different solutions for this in the forum but non of them work. Also the description in UM1718 chapter 11.9. When I follow the steps which are descript in this user manual I can not find the "File --> Import Project" option. I can only import from an existing project but then this project ends up in my workspace with the same mcu settings as it has in the original project. Is there an easy solution for changing pin compatible MCUs in the project?
I use STM32CubeIDE version 1.5.1
Best Regards,
Dominic
Solved! Go to Solution.
2021-02-15 12:31 PM
If you have the Pinout View open in STM32CubeMX (not IDE), there is a drop-down menu at the white "Pinout" text. One menu entry is "List ... Compatible..." (Alt+L).
hth
KnarfB
2021-02-15 12:31 PM
If you have the Pinout View open in STM32CubeMX (not IDE), there is a drop-down menu at the white "Pinout" text. One menu entry is "List ... Compatible..." (Alt+L).
hth
KnarfB
2021-02-16 04:49 AM
Hello KnarfB,
thank you for your answer. This solved my issue.
Dominic
2023-10-03 02:25 PM
Thanks, but I've got two problem with this incomplete solution :
- the first time I opened the dialog box, it stayed blocked at 98% with a "Running Low Memory" error. Frustrating on a computer with 32 GB RAM. I close few processes and relaunched CubeIDE, and then, it reached 100% (STM32CubeIDE using "only" 1.7 GB by the way). Then :
- this is a list, just showing information. There's no way to switch from the current MCU to another one from the list.
Is there a clean way to switch without recreating a new project from scratch, or use dirty techniques ?
(STM32CubeIDE Version: 1.13.2)
2024-02-07 11:29 AM
And will happily delete all user created files during MCU change. I am still alive as main files were open in editor.
2024-02-08 01:08 AM
yes it was bother for me too.
now the way I choose is as followings..
1. create empty project which use compatible MCU.
2. copy linker script file (*.ld) into proper project.
3. select linker script with "Properties - C/C++ Build - Settings - MCU GCC Linker" menu.
that gives less frustrates.