CubeMX projects using TrueSTUDIO

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

rentron
Posts: 4
Joined: Sun Nov 04, 2018 7:57 am

CubeMX projects using TrueSTUDIO

Postby rentron » Sun Nov 04, 2018 8:59 am

CubeMX generated project set's optimizer option to -Os (TrueSTUDIO). This was the reason for problems by debugging with ST-Link.
After changing this option to -O0 all problems gone. It's possible to generate projects with CubeMX with Option O0 as default ?
May be, i'm not familar enough to CubeMX...

Markus Girdland
Posts: 149
Joined: Thu May 11, 2017 11:27 am

Re: CubeMX projects using TrueSTUDIO

Postby Markus Girdland » Mon Nov 05, 2018 10:15 am

Hello rentron,

I'm pretty sure there's no way to change it.
We're working closely with the CubeMX team to make it smoother, though.
Until then, you will need to set the optimization level manually for each project you generate.

rentron
Posts: 4
Joined: Sun Nov 04, 2018 7:57 am

Re: CubeMX projects using TrueSTUDIO

Postby rentron » Mon Nov 05, 2018 11:37 am

Ok, i will do so and hope this information could be helpful even for other users - esspecially when using ST-Link and TrueSTUDIO.
i will set this option manually for sure... , Thank's for support, Michael.


Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 2 guests