2017-11-30 07:37 AM
Hi,
I'd like STM32CubeMX to generate .cproject with 'fr.ac6.managedbuild.gnu.c.optimization.level.size'.
In an .ioc configuration file, the parameter 'ProjectManager.CompilerOptimize' default value is 2.
STM32CubeMX do not propose to modify this parameter in the 'Project settings' panel.
When .cproject is generated, it's always with 'fr.ac6.managedbuild.gnu.c.optimization.level.debug'.
I tried other values for ProjectManager.CompilerOptimize. It didn't change anything.
Regards,
Fred.
‌#stm322017-12-18 01:21 AM
Hello ,
I will raise your request internally to CubeMx team.
Best Regards
Imen
2018-02-22 01:15 AM
Hello
Surleau.Fr_d_ric
,
In CubeMX, we don't have the interface to handle this parameter yet and we handle only the default value.
However, for the moment, you can change manually in the ioc the ProjectManager.CompilerOptimize value with one of the value below :
It is planned to integrate this functionality but, unfortunately, I can't give you any target date for the moment.
BR. Jeanne
2018-02-27 02:00 AM
Hello,
Setting
ProjectManager.CompilerOptimize
to 4 ends with fr.ac6.managedbuild.gnu.c.optimization.level.size in .cproject with STM32CubeMX 4.24.0. It did not worked with 4.23.0.But it does not work for all values.
ProjectManager.CompilerOptimize
=2 gives fr.ac6.managedbuild.gnu.c.optimization.level.debug.Regards.
Fred.