7 Replies Latest reply on Aug 19, 2013 8:32 PM by yu.jj

    How to set the eclipse environment  to run examples ?

    yu.jj

            After I install the  FX3 SDK ,   then I used the eclipse IDE which is included in the installation package to

         

      open the firmware examples , e.g (uvc_examples in firmware location) .  But it seems a lot of errors , it is puzzle me that the types  " uint8 ","uint32"  can not be recognized !   If I define the ( #define uint8  unsigned char ).. ,  some other errors occur!  So I think the errors caused by the enviorment of the IDE. 

         

         But after I install  a JDK(1.5) , the errors  also can not be fixed!!   

         

          I do not know why?  It seems there are some differents between the IDE with the SUN Eclipse ID ! 

         

         Are there have some Docs about how to set the IDE enviorment???

         

         Thanks!

        • 1. Re: How to set the eclipse environment  to run examples ?
          yu.jj

          Can sb help me ?  I don't know why .  

             

          Thank you very much !

             

          Error information:

             

            **** Build of configuration Default for project firmware ****

             

           

             

          cs-make all 

             

           

             

          Cannot run program "cs-make": Launching failed

             

          Error: Program "cs-make" is not found in PATH

             

           

             

          PATH=[C:/Program Files/Cypress/EZ-USB FX3 SDK/1.2/jre/bin/client;C:/Program Files/Cypress/EZ-USB FX3 SDK/1.2/jre/bin;C:/Program Files/Cypress/EZ-USB FX3 SDK/1.2/jre/lib/i386;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Cypress\EZ-USB FX3 SDK\1.2\jre\bin\;C:\Program Files\Cypress\EZ-USB FX3 SDK\1.2\jre\bin\client\;C:\Program Files\Cypress\EZ-USB FX3 SDK\1.2\jre\lib\i386\;C:\Program Files\Java\jdk1.5.0_22\bin\;C:\Program Files\Java\jdk1.5.0_22\jre\bin\ ;C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\Cypress\EZ-USB FX3 SDK\1.2;]

             

           

             

          **** Build Finished ****

             

           

             

          pls refer to the attachment 

          • 2. Re: How to set the eclipse environment  to run examples ?
            albert.yakupov

            Hi,

               

            Did you update your SDK? Last SDK is 1.2.3.

               

            --

               

            Best regards, Albert

            • 3. Re: How to set the eclipse environment  to run examples ?
              yu.jj

               Dear   albertyak,

                 

                  I have update the SDK to 1.2.3 and also the IDE have updated to the lastest version , and this version IDE  is different from the IDE referred in the guide,  why don't you update the IDE chapter(chapter 12) ???

                 

               

                 

                  And which arm toolchain should be chosen as the firmware examples' compiler ? 

                 

                 And why those type key words (e.g " uint8 , uint32 ...") can not be recognized  by IDE???   Can you offer  me  a doc about how to build the examples in success ? 

              • 4. Re: How to set the eclipse environment  to run examples ?
                albert.yakupov

                There is no "uint8",  "uint32".  Do you mean "uint8_t","uint32_t"?

                   

                Where do you take examples?

                   

                Default path is "C:\Program files\Cypress\EZ-USB FX3 SDK\1.2\firmware"

                • 5. Re: How to set the eclipse environment  to run examples ?
                  yu.jj
                          Hi albert, yes the SDK location is right ! and the type is uint8_t   
                  • 6. Re: How to set the eclipse environment  to run examples ?
                    yu.jj
                            Hi albertyak , seems that some errors is effected by the chain tools developers chosen when they import the projects , and other errors maybe effected by some libs. Then I can not find a DOC which tell developers how to handle the new version eclipse to build the SDK example. Can you tell me how to setup the eclipse environment , or I can not start test your FX3 . And the attachment will show me how I loaded the examples and the errors I encounter.   
                    • 7. Re: How to set the eclipse environment  to run examples ?
                      yu.jj
                              attachment