Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > SDK V1.2.1 compile issue

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



SDK V1.2.1 compile issue
Moderator:
RSKV

Post Reply
Follow this topic



SDK V1.2.1 compile issue

YI posted on 17 Oct 2012 3:22 PM PST
Senior Member
13 Forum Posts

Hi,

Just updated from V1.2 to V1.2.1 and compiled my project that had no issue on V1.2, after compiling it with V1.2.1, a lot of appeared, most are the simiar problems -

undefined reference to CyU3PGpioInit

undefined reference to CyU3PI2CInit

undefined reference to CyU3PSPIInit

When I selected the undefined reference function and click on "Open Declearation", I found the Declearation went to wrong position, how to fix this problem?

Even I uninstall V1.2.1 and re-install V1.2, the undefined reference problem still there, so frustrated !!




Re: SDK V1.2.1 compile issue

Jake73 posted on 17 Oct 2012 07:34 PM PST
Top Contributor
35 Forum Posts

With the latest SDK, Cypress has moved some functionality to a new library (cyu3lpp.a).  Did you include this new library in your build?



Re: SDK V1.2.1 compile issue

RSKV posted on 18 Oct 2012 10:00 PM PST
Cypress Employee
655 Forum Posts

Yes. Try the following steps:

1.) Open Project in Eclipse

2.) Right click on the project in the Project Explorer and choose Properties

3.) Choose 'Settings' under 'C/C++ Build' in the Properties box (left panel)

4.) Under the 'Tool Settings' tab go to 'ARM Sourcery Windows GCC C Linker' -> 'Miscellaneous'

5.) Find 'Other flags' field (bottom right) anb add the following text with quotation marks along with other paths:  "${FX3_INSTALL_PATH}\firmware\u3p_firmware\lib\fx3_debug\cyu3lpp.a"

6.) Click Apply then click OK

Thanks,

sai krishna.



Re: SDK V1.2.1 compile issue

YI posted on 19 Oct 2012 02:17 PM PST
Senior Member
13 Forum Posts

Thanks sai, my problem fixed by copying Miscellaneous setting in V1.2.1 sample to my project.






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.