Skip to main content
cchen.12
Associate II
January 24, 2021
Solved

STM32CubeMX Missing some statement while regenerate code (STM32CubeIDE) in .project file org.eclipse.cdt.core.cnature org.eclipse.cdt.core.ccnature the ccnature line will be deleted

  • January 24, 2021
  • 2 replies
  • 1528 views

..

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hi @cchen.1​ 

First, the SW4STM32 is no more supported for the new STM32MCUs, for that, it's grayed on CubeMX interface for the H7A.

For the second point, which is the disappearance of the line of code entered by you when re-generate the project, you are totally right, issue confirmed (and thanks for your explication which allowed me to reproduce the issue) and now it's fixed, the fix will be available in the next CubeMX release.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thanks for your contribution, Khouloud

2 replies

Khouloud ZEMMELI
ST Employee
January 25, 2021

Hello @cchen.1​ 

Can you please provide me steps to reproduce the issue (and share your ioc file if this does not bother you) ?

Thanks, Khouloud

cchen.12
cchen.12Author
Associate II
January 25, 2021

Original content in .Projects file

It's OK while I use the old STM32CubeMX with SW4STM32 with F446,F071,L051...

But convert to STM32CubeIDE seems not OK (STM32H7A3ZIT6)

Because I cannot select SW4STM32(grayed) while using STM32H7A3

So I change the environment to STM32CubeIDE

I don't know that It's STM32CubeMX version or STM32CubeIDE/SW4STM32

cchen.12
cchen.12Author
Associate II
January 25, 2021

0693W000007CV2jQAG.png

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
January 25, 2021

Hi @cchen.1​ 

First, the SW4STM32 is no more supported for the new STM32MCUs, for that, it's grayed on CubeMX interface for the H7A.

For the second point, which is the disappearance of the line of code entered by you when re-generate the project, you are totally right, issue confirmed (and thanks for your explication which allowed me to reproduce the issue) and now it's fixed, the fix will be available in the next CubeMX release.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thanks for your contribution, Khouloud