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

SDK 12.3.0, Linux, cannot find arm-none-eabi-gcc

I have been setting up systems to develop nRF52 code for the better part of two years. Maybe I am getting forgetful in my old age, but I can't seem to get it working this time around.

My OS is Ubuntu 16.04. My eval boards are PCA10040's, v 1.1.0 and 1.1.1. I am making what I hope is a minor SDK upgrade, to 12.3.0. One of my colleagues has it running on a Windows dev box.

I have obtained the GCC ARM Embedded toolchain from launchpad.net, as I have done many times in the past. The Makefile.posix in SDK 12.3.0 specifies the 4.9-2015-q3-update toolchain. I downloaded and extracted the tarball, and using admin privileges I copied the resulting gcc-arm-none-eabi-4_9-2015q3 folder to /usr/local/.

But when I attempt to build Blinky from the examples, I get the following error message:

john@john-p7:~/src/nRF5_SDK_12.3.0/examples/peripheral/blinky/pca10040/blank/armgcc$ make
/bin/sh: 1: /usr/local/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc: not found
Cannot find: "/usr/local/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc".
Please set values in: "/home/john/src/nRF5_SDK_12.3.0/components/toolchain/gcc/Makefile.posix"
according to the actual configuration of your system.
../../../../../../components/toolchain/gcc/Makefile.common:25: *** Cannot continue.  Stop.

Meanwhile, I am staring at this:

image description

Huh? The file is there, exactly where it should be and correctly named. WHY is it not being found?

Any advice is appreciated, thanks!

Related