Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

'make' is not recognized as an internal or external command

I'm following this guide from Nordic to set up GCC and Eclipse to develop with Nordic SDK for the nRF52840. I'm going to develop for the SparkFun Pro nRF52840 mini development board, though that's not yet an issue. Having set up GNU toolchain (it seems to work) and GNU make (it seems to work) I'm editing the Makefile.windows so that it points to the \GNU Tools folder but when I run "make" in the "examples\....blank\armgcc" folder I get the error:

'make' is not recognized as an internal or external command.

This seems to obviously be that it cannot find the install root for the GNU Tools but I have changed the path to the correct one and it will still not work. Here is the makefile.windows:

Here is the make command and the error when ran from this directory:

I'm not sure where to go from here. I'm developing on Windows 10 and because I'm developing on the SparkFun development board I need to do some extra modifications later on so I'm not sure if this method is even the best one for developing for this board? Any help would be appreciated.

Parents Reply
  • Yes, of course it will work.

    The board the device is mounted on does not affect the IDE!

    I would strongly recommend that you start with an nRF52840-DK - as you will have ready-made projects for all the SDK examples, and a Segger J-Link for programming & debugging.

    Once you have gained familiarity with the chip & the tools, you can move on to the Sparkfun board - and still be able to use the J-Link for programming & debugging.

Children
Related