623 views
in System Integration by
Hi, EW team:

    Now I am doing optimization to my system. My compiler is IAR for NXP RT1170. I'd like to know what's the compiling optimization level that EW graphic engine, RTE and generated code accepts. Because there are often cases that high level optimization breaks what the code is expected to do.

  Thank you.

 

Best regards.

Stephen

1 Answer

0 votes
by
Hi Stephen,

we are building all libraries for Graphics Engine and RunTime Environment with optimization level -O2. Also the example projects are configured with this optimization level. This is tested and works fine.

Anyhow, so far we did not hear about issues with other optimization levels.

Best regards,

Manfred.
by
Hi, Manfred:

      I checked the IAR project settings of build environment. It's level is High, and for speed.

      Is it what you mean by O2?

     Thank you.

 

Best regards.

Stephen
by

Sorry, the -O2 setting is for GCC - for IAR it is Medium.

The libraries are built with --no_unroll --no_inline --no_tbaa --no_scheduling -Om

Best regards,

Manfred.

by
Understood. Thank you.

Best regards.
Stphen

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...