I am trying to build nrfsdk for the nrf52840 armgcc, running make gives following error.
su@su-desktop:~/nRF/nRF5_SDK_17.1.0_ddde560/examples/peripheral/template_project/pca10056/blank/armgcc$ make
/home/su/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: cannot open @@P�@8: No such file
/home/su/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: 1: Syntax error: Unterminated quoted string
Cannot find: '/home/su/gcc-arm-none-eabi/bin/arm-none-eabi-gcc'.
Please set values in: "/home/su/nRF/nRF5_SDK_17.1.0_ddde560/components/toolchain/gcc/Makefile.posix"
according to the actual configuration of your system.
../../../../../../components/toolchain/gcc/Makefile.common:129: *** Cannot continue. Stop.
su@su-desktop:~/nRF/nRF5_SDK_17.1.0_ddde560/examples/peripheral/template_project/pca10056/blank/armgcc$
arm-none-eabi-gcctoolchain installed.if you don't have it, you can find it here: https://developer.arm.com/downloads/-/gnu-rm
go to the directory of your nrfSDK install, then
components>toolchain>gcc>Makefile.posixand edit theGNU_INSTALL_ROOTfield (for me that was /opt/arm-none-eabi-gcc/bin) andGNU_VERSIONfield to whatever toolchain version you installed (9.3.1 in my case)Hope it helps :)