Dear Support Team,
I encountered an issue with the compilation optimization option in Sigma Studio 4.7 and would like to seek your advice.
Here is the situation:
I am using a simple example (the project file is attached).
I enabled the optimization option: "Reduce the size of DM1 and DM0 download packets by removing zero initializations".
After the first compilation, the code size decreased from 942 (defined by BufferSize_IC_1 in defines.h) to 940.
However, without changing any settings, after recompiling and exporting the file again, the code size increased to 992.
Could you please explain why this happens? Does this affect the runtime behavior or functionality of the project? Is the optimization option unstable, or do caching or other configuration changes affect the second compilation result?
