Optimization levels

The default configuration settings in sample projects which ship with the library are set to the highest level of optimization for IAR and GCC variants of the libraries. The user might be required to change this setting for debugging purposes

  1. 1.

    In case of IAR, The optimizations tab in project configuration options specifies High.

  2. 2.

    In case of GCC, the libraries are compiled with the –Os which signifies that the Optimization for generating the library is maximum.

Figure 1. Specifying the optimization level in IAR IDE