Skip to main content
kurta999
Senior
Nov 12, 2018 7:54 AM UTC
Question

STM32CubeMX generated project for Atollic 'Release' build bug

If you generate a project for Atollic and try to use it's Release build configuration, Atollic will show a warning in project settings:

"Orphaned configuration. No base extension cfg exists for com.atollic.truestudio.exe.release.1518366166"

You can reproduce this with a clear project, it happens every time. I'm working with STM MCU's for a year, and inbuilt Release configuration always showing this error.

This topic has been closed for replies.

15 replies

Nawres GHARBI
ST Technical Moderator
Nov 19, 2018 9:23 AM UTC

Hi @kurta999​ 

Thanks for the feedback, it has been reported to be fixed in the next STM32CubeMX version

Markus Rudolf
Associate III
Feb 26, 2019 8:58 PM UTC

Not working in 5.10 still....

Markus Rudolf
Associate III
Jan 31, 2019 10:07 AM UTC

Looks like it is not fixed in 5.0.1

Can someone confirm?

Markus

thomast777
Visitor II
Feb 7, 2019 8:13 PM UTC

Confirming NOT fixed in CubeMX 5.0.1

(with Atollic TrueStudio 9.2.0)

kurta999
kurta999Author
Senior
Feb 26, 2019 7:59 PM UTC

Tested with 5.1.0, still not fixed.

alister
Senior III
Mar 5, 2019 4:30 AM UTC

I guess fixed could mean STM32CubeMX doesn't generate a build configuration that's broken this way from scratch. I don't expect it could repair a build configuration that's broken this way. I guess the repair method would be to manually delete the build configuration, and then copy and modify another one, or create a whole new one. If you're creating a whole new one, you might be best off deleting the .project and .cproject files and get STM32CubeMX to generate the project again.

Markus Rudolf
Associate III
Mar 5, 2019 8:42 AM UTC

May be a valid point. Still I don't like it when my customizations get overwritten without notice. There is already some work that went into it. Best thing would be to avoid such stupid mistakes in the first place. ST bought Atollic Compiler so they should test also with this compiler and not only debug but also release builds....

Markus Rudolf
Associate III
Mar 5, 2019 10:29 AM UTC

The error is still there even with deleted .cproject and .project file when regenerating the code in CubeMX 5.10

0690X0000087XVhQAM.png

alister
Senior III
Mar 5, 2019 10:33 PM UTC
Markus Rudolf
Associate III
Mar 5, 2019 10:36 PM UTC

Yeah commented there too. The support is missing a proper bug tracking system where you can directly report bugs, it gets a ticket ID and you get informed when its fixed.

kurta999
kurta999Author
Senior
Apr 26, 2019 7:12 AM UTC

It is fixed in CubeMX 5.2.0. Could somebody else confirm this?

thomast777
Visitor II
Apr 26, 2019 4:59 PM UTC

Confirming fixed for NEW projects. Generated code from an existing project still shows the problem. At least there's a path. I am using this opportunity to check out the new STM32CubeIDE.

Markus Rudolf
Associate III
Apr 26, 2019 10:14 AM UTC

0690X000008AxOeQAK.pngIt works but it kills any custom settings made in the Post-Build steps. as I use this to calculate a checksum and make a flashable Image for the target here, I consider this still as a bug and highly annoying.

CubeMX shall not touch this line when generating / regenerating code.