Skip to main content
Senior II
March 21, 2022
Solved

Search for the best way to change controller in cube IDE.

  • March 21, 2022
  • 5 replies
  • 3499 views

Hi,

What is the most efficient way to change controllers on a custom board?

I have changed the STM32G473RE to an STM32G473RC, the project is build and compiled with cube IDE (so i have an ioc file too). Is there an easy way to change the controller in the ioc file to another one and rebuild the code? Or which other way causes the least work?

This topic has been closed for replies.
Best answer by KnarfB

Ouch, didn't double check that. The same list has an "OK, Import" button in STM32CubeMX, which I took for granted. CubeMX has another list of Compatible MCUs at the bottom.

hth

KnarfB

5 replies

KnarfB
Super User
March 21, 2022

Can be done: Open the .ioc, under Pinout&Configuration is a Pinout drop-down menu with a List Pinout Compat. MCUs entry. Shortcut: Alt+L.

hth

KnarfB

sde c.1Author
Senior II
March 23, 2022

yes that list i know , but i can't change the controller in this list to use that device in cube IDE and with code generating .

KnarfB
KnarfBBest answer
Super User
March 23, 2022

Ouch, didn't double check that. The same list has an "OK, Import" button in STM32CubeMX, which I took for granted. CubeMX has another list of Compatible MCUs at the bottom.

hth

KnarfB