Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals

Level 4
50 replies posted 25 replies posted 25 sign-ins
Level 4

Hello All,

I'm using Ez-USB suite V1.3.4.

In the attached Properties window, if I Change

configuration: Debug[active] to --> profile release / Release and

optimization level : None(-O0) to--> any other option n drop down.

Will these configurations break anything, Is it recommended to alter these changes ?

I need to optimize my code, now even if I add a single function with a single switch case and with one/two variables code size is increasing more than 2k which is unexpected. At present my code size is 167k.

So If I alter the above said options will it affect anything?

How(in what way) and where are these option will be used?

What are the recommended settings for compiler to optimize the code size?

Thanks and Regards,


1 Solution
Moderator First question asked 1000 replies posted 750 replies posted


For optimizing the size of image, you can try release build or change the optimization level. Once you use the Release Build, the Optimization level will switch to Optimize Most (-O3). These settings are recommended to optimize the size of image file generated.

Please refer to section 5.2 of GettingStartedWithFX3SDK.pdf that comes along with FX3 SDK to understand the difference between different build modes. This document can be found in the following location.

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware

Note that this path depends on the installation directory of FX3 SDK.

If you want to reduce the code size further, please go through the suggestions mentioned in this thread

How to shrink size of image?

Best Regards,


Best Regards,

View solution in original post

3 Replies