Post Go back to editing

Issue with Compilation Optimization Option in Sigma Studio 4.7

Thread Summary

The user encountered a code size increase from 940 to 992 after recompiling a Sigma Studio 4.7 project with the 'Reduce the size of DM1 and DM0 download packets by removing zero initializations' optimization enabled. The support team acknowledged the issue and referred the user to an existing thread for further follow-up, indicating that the programming team is investigating.
AI Generated Content
Category: Software
Product Number: Sigma Studio Plus
Software Version: SIGMA STUDIO PLUS 2.3.0

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?



 5554.test.dspproj