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.
And changed the file nRF5_SDK_15.2.0_9412b96/components/toolchain/gcc/Makefile.posix.
following is the updated file.
i am using ubuntu 16.04 32-bit..
here are the arm-gcc version i tried.
gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2
gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
what could be the problem?
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.
Code:
~/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.
following is the updated file.
Code:
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
here are the arm-gcc version i tried.
gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2
gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
what could be the problem?