You are here

Code Size in Version 1.3.3 | Cypress Semiconductor

Code Size in Version 1.3.3

Summary: 1 Reply, Latest post by Madhu Sudhan on 24 Apr 2015 01:27 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
Ken4242's picture
54 posts

 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?



mady's picture
Cypress Employee
964 posts


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

Log in to post new comments.