241 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

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...