Skip to main content
parth kothiya
Associate III
Dec 12, 2021 3:44 PM UTC
Question

Migrating project to new cubeMX is giving lots of errors.

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.

4 replies

TDK
Dec 12, 2021 4:15 PM UTC

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
Dec 13, 2021 5:04 AM UTC

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
Dec 15, 2021 4:23 PM UTC

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
Dec 22, 2021 8:57 AM UTC

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