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

'Make' issue with nRF5_SDK_15.1.0_a8c0c4d

Apologies if this is a duplicate post:

I am successfully making nRF example apps in nRF5_SDK_12.3.0_d7731ad using GNU Tools Arm Embedded version 7 2018-q2-update in Windows 7 32-bit.

However, making the same apps within nRF5_SDK_15.1.0_a8c0c4d fails (similar issue reported in other posts), even with exactly the same makefile.windows that I use in 12.3.0.

When I compare the following 2 folders w.r.t. number of files:

..\nRF5_SDK_12.3.0\components\toolchain\gcc
..\nRF5_SDK_15.1.0\components\toolchain\gcc

I notice there are 16 files in the former, but only 5 files in the latter - why is that?

Then, when I copy the following 2 files from the 12.3.0 gcc folder to the 15.1.0 gcc folder, the make is successful:

Makefile.common (overwriting the original)
file_list.mk (does not exist in gcc folder of 15.1.0)

Any ideas?

Thank you

  • Problem solved.  I used the following in the makefile.windows on my 32-bit Win7 OS:

    GNU_INSTALL_ROOT := C:/Program Files/GNU Tools ARM Embedded/7 2018-q2-update/bin/
    GNU_VERSION := 7.3.1
    GNU_PREFIX := arm-none-eabi
    SHELL := cmd.exe

    I had to add the SHELL line, without it I got a  make error 128, followed by countless error 2's.

    The 'make' was successful, also with SDK 15.2.0 using the same makefile.windows.

    Case closed, thank you Jorgen.

Related