Anonymous
Not applicable
Apr 23, 2015
06:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 23, 2015
06:40 PM
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?
Ken
1 Reply
Anonymous
Not applicable
Apr 24, 2015
01:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 24, 2015
01:27 AM
Hi,
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.
Regards,
- Madhu Sudhan