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 ?
2018-08-14 01: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
2018-09-06 03:55 AM
I can comfirn this bug. It even resets optimization flags in my new configuration what I made.
2018-09-07 03:52 AM
@Mohamed Mansouri So do you need any input from me or is the @kurta999 post OK?
2018-09-07 06: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
2018-09-07 06:55 AM
The MCU is STM32L452VE, Truestudio version is 9.0.1
2018-09-07 07:56 AM
Can you please share your Ioc
2018-09-07 07:58 AM
2018-09-07 08: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