Skip to main content
parth kothiya
Associate III
December 12, 2021
Question

Migrating project to new cubeMX is giving lots of errors.

  • December 12, 2021
  • 3 replies
  • 716 views

migrating old cubemx project in to new version of cubemx will give me errors while i compile it using STM32 CUBE IDE.

old project compiled successfully no errors.

This topic has been closed for replies.

3 replies

TDK
December 12, 2021

Look at the errors and fix them. Start with the first one as errors can propagate.

"If you feel a post has answered your question, please click ""Accept as Solution""."
S.Ma
Principal
December 13, 2021

Evaluate if rebuild the project from scratch and adding your source files is faster than error fight. It is a good skill to grow especially when migrating from other toolchains or other non ST vendors projects anyway.

Khouloud OTHMAN
Associate
December 15, 2021

Hello @parth kothiya​ ,

First let me thank you for your feedback.

Normally errors should not appear after migration from an old STM32CubeMX version to a new one.

Could you please share your .ioc file for further check.

Thanks in advance.

Khouloud.

parth kothiya
Associate III
December 22, 2021

Error is gone if I delete other files excluding main.c then regenerate code then rebuild ​