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

Unable to build (make) from Windows command prompt (nRF52DK)

I am following Tutorial 7 on "Development with GCC and Eclipse" and I am working in the Windows 8.1. I have followed instructions from the tutorial for installing the arm-none-eabi toolchain and the SDK files, so I am at the step of adding the toolchain to the environment variable. The example in the tutorial is using 4.9.3, but I have installed the latest version 5.4.1; so, I have set the PATH variable to

/GNU Tools ARM Embedded/5.4 2016q2/bin

When I change directory to //armgcc and then run "make" I get the following error:

rm -rf _build process_begin: CreateProcess(NULL, rm -rf _build, ...) failed. (e=2): The system cannot find the file specified. : *** [clean] Error 2

I have double-checked the Windows.makefile contents, and edited for the correct version of gcc which is 5.4.1 based on arm-none-eabi-gcc --version output. I have also checked to see that the PATH variable includes the toolchain directory which is in my case:

C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q2\bin

I do note that there are two (2) gcc files in the bin directory: arm-none-eabi-gcc and arm-none-eabi-gcc-5.4.1.

Can you see anything that I have done wrong? Is there a common error that people make in this setup process? Thanks very much for your help.

Related