CubeMX changes optimization flags again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-12 11:00 PM
Hello,
CubeMX and libs version as in this topic: https://community.st.com/s/question/0D50X00009cegytSAA/l4-cubemx-package-ver-112-inconsistency?t=1534139773066
The problem is that each time one regenerates the project using CubeMX, the optimization flags get reset to -Os, no matter what was set before:
Debug level flags are preserved correctly. @Imen DAHMEN​ ?
- Labels:
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-14 1:26 AM
Hi @Community member​ ,
Unfortunately, I'm not able to reproduce this issue.
Could you please provide more information about your environment (windows version, atollic version..) . It will be more helpful if you share your Ioc and if you tell us about the scenario to reproduce the issue.
Thanks in advance for helping to complete this thread.
Regards,
Mohamed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-06 3:55 AM
I can comfirn this bug. It even resets optimization flags in my new configuration what I made.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-07 3:52 AM
@Mohamed Mansouri​ So do you need any input from me or is the @kurta999​ post OK?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-07 6:52 AM
Hi,
Can you please give your Atollic TrueSTUDIO version and the MCU used.
Because using STM32F401, I cannot reproduce the bug. I change the optimization level to -0g and when i regenerate the code, it was kept, it wasn't changed to -Os,
Thanks in advance for helping to complete this thread,
Regards,
Mohamed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-07 6:55 AM
The MCU is STM32L452VE, Truestudio version is 9.0.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-07 7:56 AM
Can you please share your Ioc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-07 7:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-07 8:12 AM
Thank you,
I confirm: With your Ioc, I succeed to reproduce the Bug. Its not the case with an empty project,
I will get back to you as soon as I get the right reason for this bug,
Thanks for your helping,
Regards,
Mohamed
