I am having an issue with running the initial blinky example that came with the nRF51 PCA10028 SDK in the Eclipse IDE. I will include screenshots of the issue. I believe my paths in the project properties are set correctly, and I also believe that I have installed all elements of the setup guide appropriately.
make: Leaving directory `C:/Users/Perry/Desktop/SDK/examples/peripheral/blinky/pca10028/blank/armgcc'
make (e=2): The system cannot find the file specified.
make: *** [_build/system_nrf51.o] Error 2
make: *** [all] Error
Have you checked you have correct version of GNU Tools ARM Embedded ? It should be v4.9 2015q1 as shown in your screenshot.
If you don't have the same version, you can modify the configuration file Makefile.windows to match. It's located in SDK folder\components\toolchain\gcc\
Hi Perry, this usually means that the GNU toolchain path is set incorrectly, make sure that you have put the correct path in the file called makefile.windows/posix inside <SDK>/components/toolchain/gcc, the extension of the makefile depends on the platform you are using (Windows or OSX/Linux). Good luck.
Is the tool chain I should be referencing in the C/C++ General/Paths and Symbols/Includes/GNU C?
I made this change as listed above, and I now have a new error as listed below.
Error: Program "make" not found in PATH
PATH=[C:\Users\Perry\Desktop\SDK\components\toolchain\gcc;C:\Users\Perry\Desktop\SDK\components\toolchain\gcc;C:/Program Files/Java/jre1.8.0_74/bin/server;C:/Program Files/Java/jre1.8.0_74/bin;C:/Program Files/Java/jre1.8.0_74/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin;C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q3\bin;C:\Users\Perry\Desktop\Eclipse Install Extraction\eclipse]
I installed the GNU Tools ARM Embedded v4.92015q3, I have updated this in my Makefile.windows to be
"GNU_INSTALL_ROOT := $(PROGFILES)/GNU Tools ARM Embedded/4.9 2015q3"
@PerryJ: Have you installed Make for Windows ? I haven't seen GnuWin32 in the list in your PATH. Please follow the tutorial here.