1 Reply Latest reply on Apr 24, 2015 1:27 AM by madhul_36

    Code Size in Version 1.3.3

       I just installed and am using version 1.3.3 to fix some USB3 Link error issues (I hope).  However, this caused my code size to go beyond 128K to 142K.  Are there a compile/linker switches that I can use to decrease the size?





        • 1. Re: Code Size in Version 1.3.3



          To reduce the code size:


          In Eclipse, go to Project -> Properties -> C/C++ Build -> Settings -> ARM Sourcery Windows GCC C Compiler -> Optimization.


          Select the Optimization level as "Optimize size (-Os)". This woud reduce the code size by some extent.


          Further, the release build has less code size than Debug build. You can use the relase build in your final product.




          - Madhu Sudhan