This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to build project (nRF5_SDK_14.2.0_17b948a) from windows cmd

Hello, I have followed the tutorial to run the examples from SDK14.2.0 for my nRF52840 Dev board on eclipse. I have everything set and updated including the components>toolchain>gcc>makefile.windows for my SDK with:

GNU_INSTALL_ROOT := C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major
GNU_VERSION := 7 
GNU_PREFIX :=arm-none-eabi

I have tried to run "make" from the cmd (....\nRF5_SDK_14.2.0_17b948a\examples\peripheral\blinky\pca10056\blank\armgcc) and this is what I ended up getting this:

process_begin: CreateProcess(NULL, "C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major\arm-none-eabi-gcc" --version, ...) failed.
make: ../../../../../../components/toolchain/gcc/Makefile.common:129: pipe: No error
Cannot find: 'C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major\arm-none-eabi-gcc'.
Please set values in: "D:/Akhil/Development/Development_SDK/nRF5_SDK_14.2.0_17b948a/nRF5_SDK_14.2.0_17b948a/components/toolchain/gcc/Makefile.windows"
according to the actual configuration of your system.
../../../../../../components/toolchain/gcc/Makefile.common:129: *** Cannot continue.  Stop.

I have changed and tried a lot of stuff in the makefile.windows, but I wasn't successful. Anyone out there who could help me understand what I am doing wrong here.

Thanks.

Related