Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > SDK 1.2.1

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



SDK 1.2.1
Moderator:
RSKV

Post Reply
Follow this topic



SDK 1.2.1

Spectrum posted on 05 Nov 2012 3:11 PM PST
Senior Member
13 Forum Posts

I just installed the latest version of the FX3 SDK and my code stopped compiling. Why? Multiple reasons, but here is just one of the them. The I/O configuration structure used in the SlaveFifoSync example in the  previous release of the SDK was named ioCfg. In release 1.2.1, it changed it to io_cfg. This of course made all of the code that uses the I/O configuration structure written in previous release stop compiling. I am either missing some small step that makes this not as big a deal as I think it is, or this is a really big deal that requires me to make multiple changes to my code. Why would Cypress do such a thing anyway as to rename the structure in the example? Am I the only one who copies code from these examples?




Re: SDK 1.2.1

Lumpi6 posted on 06 Nov 2012 05:14 AM PST
Top Contributor
183 Forum Posts

Hi Spectrum,

the structure its name is the same as before. The change is just the name of the variable of the used structure.

    CyU3PIoMatrixConfig_t io_cfg;
 

    CyU3PIoMatrixConfig_t ioCfg;
 

This should not make any problems while compiling. Sometimes old project settings are changed also concerning to file extensions which are changed with new installation. If you delete your <projectname>.sc file in the .metadata folder it may solve some issues of compiling. But close your workspace and eclipse before deleting. After restart of the eclipse that file will be created.

 

If you have other compile errors please describe. I did all the time the updates to newer version and I never had big problems.

Regards

Lumpi



Re: SDK 1.2.1

Lumpi6 posted on 06 Nov 2012 05:15 AM PST
Top Contributor
183 Forum Posts

Hi,

which FX3 SDK you used before?

regards

lumpi






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.