Make sure that you have installed Eclipse IDE, ARM GCC tool chain and FX3 SDK first. Then you can import an example project from the SDK. Select the imported project and go to "Project" menu and select "Build Project".
You can also refer to "Getting Started with FX3 SDK" and "FX3 Programmers Manual" for details. Both documents are provided with the SDK.
I have followed the "Getting Started" Document and the "FX3 Programmers Manual", and I am getting the same, consistent error for all firmware project examples included in SDK 1.2. Below is a snippet of the error from one of the projects:
**** Build of configuration Debug for project cyfxbulklpauto_cpp ****
'Building file: ../cyfx_gcc_startup.S'
'Invoking: ARM Sourcery Windows GCC Assembler'
arm-none-eabi-g++ -x assembler-with-cpp -D__CYU3P_TX__=1 -I"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.2\\firmware\u3p_firmware\inc" -Wall -c -fmessage-length=0 -Wno-write-strings -MMD -MP -MF"cyfx_gcc_startup.d" -MT"cyfx_gcc_startup.d" -mcpu=arm926ej-s -mthumb-interwork -g3 -gdwarf-2 -o"cyfx_gcc_startup.o" "../cyfx_gcc_startup.S"
The current directory is invalid.
cs-make: *** [cyfx_gcc_startup.o] Error 1
Any help is greatly appreciated.
maybe you do not have started the eclipse under administration rights. Try to start it under admin rights or re-install the FX3 SDK files under an other folder. Not in c: programs(x86).... try a folder which is not under control of windows (e. g. an other partition or create a new folder under C:\cypress\fx3 sdk) and try again.
Make sure you have copied the projects to workspace (please see the attached image) while importing the project.
If FX3 SDk is installed in C:\Program Files (x86), you cannot build the projects in that path (windows doesn't allow that). So you will hvae to copy the project to workspace and then build it.
eclipse.jpg 100.3 K
I also encountered this kind of mistakes, but also can't solve, who can help me, thank you
If nothing works...try closing and opening Eclipse again or restarting the system or reinstalling the SDK.