Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > license limits optimization to level 5

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



license limits optimization to level 5
Moderator:
RKRM

Post Reply
Follow this topic



license limits optimization to level 5

boulder posted on 14 Feb 2012 9:19 AM PST
Top Contributor
35 Forum Posts

another problem when I switch from debug to Release built: what is this warning and why it does not show up in debug built, but come out in Release built? Thanks,

*** MESSAGE C286 IN LINE 0 OF (null): license limits optimization to level 5




Re: license limits optimization to level 5

Bob Marlowe posted on 14 Feb 2012 09:39 AM PST
Top Contributor
1768 Forum Posts

This is where Keil wants to make a bit of money with. The free C-compiler is limited in the optimization level which is probably set to zero (0) in debug and set to larger than 5 in release mode. The effect of optimizing is not as dramatic as one may hope, but when your project really gets tight in flash-memory (after switching off ECC) you will have to buy Keil's compiler. I remember that a forum member dis this and was a bit dissapointed about the small effect of using better optimization.

Bob



Re: license limits optimization to level 5

boulder posted on 14 Feb 2012 10:00 AM PST
Top Contributor
35 Forum Posts

Thanks, I will just ignore the message then.



Re: license limits optimization to level 5

U2 posted on 15 Feb 2012 12:18 AM PST
Cypress Employee
589 Forum Posts

Code optimisation for 8051 can be achieved using various methods. If you are limited on Flash size and need to sqeeze in additional code by optmising the existing code, you might want to check out this App Note, 

PSoC 3 - 8051 Code Optimization  - AN60630






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20