Skip to main content
mhal
Associate
August 25, 2020
Solved

Hello, I have a project created with the new cubeIDE using .ioc. Is there a way to compile this project easily targeting a different processor of the same family WITHOUT recreating an entire new project from scratch? Thanks,

  • August 25, 2020
  • 3 replies
  • 979 views

..

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

The latest stand-alone STM32CubeMX tool has an option "List Pinout compatible MCUs" (Alt+L) which might help.

3 replies

KnarfB
KnarfBBest answer
Super User
August 25, 2020

The latest stand-alone STM32CubeMX tool has an option "List Pinout compatible MCUs" (Alt+L) which might help.

mhal
mhalAuthor
Associate
August 25, 2020

Thank you for the response. This gets a little closer without making as many mistakes. Too bad they don't have a compile option for "fully compatible" parts. This would make things easier to maintain. The 2 parts in question are the STM32F373CC and STM32F373CB. The only difference is flash size.

TDK
August 25, 2020

If flash size is the only difference, you can just change the linker script and make the flash region bigger.

But in general, no, porting projects to different processors isn't something CubeMX supports.

"If you feel a post has answered your question, please click ""Accept as Solution""."