Hi,
After long time again started working on nordic controller's.
Previously my pc was properly configured for NRF5x environment which includes gcc and flahser.
Recently i got nrf52832 board and i started working on..
now, I set up the path for arm-none-eabi-gcc toolchain. and export the path arm-none-eabi-gcc toolchain..
But while compiling i got following error's.
~/projects/nrf5x/sdk/nRF5_SDK_15.2.0_9412b96/examples/peripheral/blinky/pca10040/blank/armgcc /home/stech/compiler/gcc/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: 1: /home/stech/compiler/gcc/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: ELF: not found /home/stech/compiler/gcc/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: 2: /home/stech/compiler/gcc/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc: Syntax error: "(" unexpected Cannot find: '/home/stech/compiler/gcc/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc'. Please set values in: "/home/stech/projects/nrf5x/sdk/nRF5_SDK_15.2.0_9412b96/components/toolchain/gcc/Makefile.posix" according to the actual configuration of your system. ../../../../../../components/toolchain/gcc/Makefile.common:129: *** Cannot continue. Stop.
And changed the file nRF5_SDK_15.2.0_9412b96/components/toolchain/gcc/Makefile.posix.
following is the updated file.
GNU_INSTALL_ROOT ?= /home/stech/compiler/gcc/gcc-arm-none-eabi-6-2017-q2-update/bin/ GNU_VERSION ?= 6.3.1 GNU_PREFIX ?= arm-none-eabi
I am using SDK 15.02 and i was trying the blinky from following path
/examples/peripheral/blinky/pca10040/blank/armgcc