Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiler flag mismatch between project and target level [solved]
#1
Hi,

Thank you for this incredible work and for the new release! I'm using EmBitz for 7 years now.

I'm switching a project form 1.11 to 2.00 (start new project, add files, adjust settings) and I've found something.

The default optimisation C compiler flags for a new project (STM32H743): Debug: -O0; Release: -O2
When I set the -O0 at the project settings level (without touching anything else) it seems that the release target using the project settings from now on (policy: append), but to my surprise the compiled output is much smaller than the debug target.
It turned out that in the projects .ebp file the setting is still -O2.

   

This is a bug or I missed something?

Thanks!
Reply


Messages In This Thread
Compiler flag mismatch between project and target level [solved] - by Operton - 29-10-2021, 06:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)