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

Unrecognised emulation mode

Hi!,

I get this error when I try to compile the project:

Compiling file: ble_conn_state.c
Linking target: _build/nrf52832_xxaa.out
/usr/local/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: unrecognised emulation mode: cpu=cortex-m4
Supported emulations: armelf
collect2: error: ld returned 1 exit status
make: *** [_build/nrf52832_xxaa.out] Error 1

I've been looking at Google and StackOverFlow but I can not figure out how to fix it.

Do you have any idea?

Best regards

Parents
  • I have tested with other gcc toolchain version but I get the same error:

    /usr/local/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: unrecognised emulation mode: cpu=cortex-m4
    ../../../../../../components/toolchain/gcc/Makefile.common:124: fallo en las instrucciones para el objetivo '_build/nrf52832_xxaa.out'
    Supported emulations: armelf
    collect2: error: ld returned 1 exit status
    make: *** [_build/nrf52832_xxaa.out] Error 1
    
Reply
  • I have tested with other gcc toolchain version but I get the same error:

    /usr/local/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: unrecognised emulation mode: cpu=cortex-m4
    ../../../../../../components/toolchain/gcc/Makefile.common:124: fallo en las instrucciones para el objetivo '_build/nrf52832_xxaa.out'
    Supported emulations: armelf
    collect2: error: ld returned 1 exit status
    make: *** [_build/nrf52832_xxaa.out] Error 1
    
Children
No Data
Related