cancel
Showing results for 
Search instead for 
Did you mean: 

Migrating project to new cubeMX is giving lots of errors.

parth kothiya
Senior

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.

4 REPLIES 4
TDK
Guru

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

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.

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.

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