I have a problem when i'm using static functions because after rebuild/build the compiler does not generate the object code of this functions ( i see that because assembler code of this functions is not generated in .lss file ). How can i disable compiler optimization to avoid this issue.
Please see the following link.
Under the Toolchain settings of the current project you can select the optimization via a simple drop-down list.