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

Can't compile NRF52 examples

Following this tutorial : devzone.nordicsemi.com/.../

I type 'make' and it compiles for a bit and then I get a bunch of errors that say this:

[278]: *** [_build/nrf52840_xxaa.out] Error 2
make[277]: *** [_build/nrf52840_xxaa.out] Error 2
make[276]: *** [_build/nrf52840_xxaa.out] Error 2
make[275]: *** [_build/nrf52840_xxaa.out] Error 2
make[274]: *** [_build/nrf52840_xxaa.out] Error 2
make[273]: *** [_build/nrf52840_xxaa.out] Error 2
make[272]: *** [_build/nrf52840_xxaa.out] Errmake: *** [_build/nrf52840_xxaa.out
] Error 66048

image description

image description83c)

Parents
  • hey, did you install GCC ARM Toolchain in your system and also which version of eclipse your using and also which SDK your using. make sure that your gcc tool chain path in your make file is correct.

    otherwise, follow this

    gnuarmeclipse.github.io/.../

    like

    TEMPLATE_PATH = ../../../../../components/toolchain/gcc

    ifeq ($(OS),Windows_NT)

    include $(TEMPLATE_PATH)/Makefile.windows

    else

    include $(TEMPLATE_PATH)/Makefile.posix

    endif

    and also make sure that in your SDK components/toolchain/gcc/makefile.posix

    your installed gcc-arm-none-eabi path and version is correct like this below.

    GNU_INSTALL_ROOT := /Users/XXXXXXX/Desktop/gcc-arm-none-eabi-5_4-2016q2

    GNU_VERSION := 5.4.2

    GNU_PREFIX := arm-none-eabi

Reply
  • hey, did you install GCC ARM Toolchain in your system and also which version of eclipse your using and also which SDK your using. make sure that your gcc tool chain path in your make file is correct.

    otherwise, follow this

    gnuarmeclipse.github.io/.../

    like

    TEMPLATE_PATH = ../../../../../components/toolchain/gcc

    ifeq ($(OS),Windows_NT)

    include $(TEMPLATE_PATH)/Makefile.windows

    else

    include $(TEMPLATE_PATH)/Makefile.posix

    endif

    and also make sure that in your SDK components/toolchain/gcc/makefile.posix

    your installed gcc-arm-none-eabi path and version is correct like this below.

    GNU_INSTALL_ROOT := /Users/XXXXXXX/Desktop/gcc-arm-none-eabi-5_4-2016q2

    GNU_VERSION := 5.4.2

    GNU_PREFIX := arm-none-eabi

Children
No Data
Related