1 Reply Latest reply on Jul 24, 2017 3:17 AM by srdr

    4 Errors

    content.librarian

      I have installed EZ-USB FX3 SDK v1.3.3 for Windows complete version. I tried build example without any errors. Then I created new project for fx3 and simple main c file:

         


      #include <stdio.h>

         

      int main (void){

         

      printf("hello world");

         

      while(1){}
      }
       after build I have seen resut:

         

      19:01:04 **** Incremental Build of configuration Debug for project new_test ****
      cs-make all 
      'Building target: new_test.elf'
      'Invoking: Cross ARM C Linker'
      arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mthumb-interwork -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g3 -T "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/fw_build/fx3_fw/fx3.ld" -nostartfiles -Xlinker --gc-sections -L"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/fw_lib/1_3_3/fx3_debug" -L"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\ARM GCC\/lib/gcc/arm-none-eabi/4.8.1" -L"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\ARM GCC\/arm-none-eabi/lib" -Wl,-Map,"new_test.map" -Wl,-d  -Wl,--no-wchar-size-warning -Wl,--entry,CyU3PFirmwareEntry -o "new_test.elf"  ./main.o   -lcyu3lpp -lcyfxapi -lcyu3threadx -lc -lgcc
      C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/fw_lib/1_3_3/fx3_debug\libcyfxapi.a(cyu3entry_armcc.o): In function `CyU3PFirmwareEntry':
      e:\views\antioch_fx3_build_view_puri\software\products\usb30\sdk\firmware\src\system/cyu3entry_armcc.S:131: undefined reference to `CyU3PToolChainInit'
      C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/fw_lib/1_3_3/fx3_debug\libcyfxapi.a(cyu3system.o): In function `CyU3PSysCheckBootState':
      cyu3system.c:(i.CyU3PSysCheckBootState+0x68): undefined reference to `CyU3PMemCopy'
      c:/program files (x86)/cypress/ez-usb fx3 sdk/1.3/arm gcc/bin/../lib/gcc/arm-none-eabi/4.8.1/../../../../arm-none-eabi/bin/ld.exe: new_test.elf: hidden symbol `CyU3PMemCopy' isn't defined
      c:/program files (x86)/cypress/ez-usb fx3 sdk/1.3/arm gcc/bin/../lib/gcc/arm-none-eabi/4.8.1/../../../../arm-none-eabi/bin/ld.exe: final link failed: Bad value
      collect2.exe: error: ld returned 1 exit status
      cs-make: *** [new_test.elf] Error 1

         

      19:01:04 Build Finished (took 616ms)

         

      Please help correct mistake.