Latest Keil won't compile SDK example

I just installed the latest version of Keil MDK 5.39 and 17.1.0 of the SDK.  When I try to compile the blinky_FreeRTOS_pca10056 project, I receive this error message:

*** Target 'nrf52840_xxaa' uses ARM-Compiler 'Default Compiler Version 5' which is not available.

Am I doing something wrong here?  It's been a few years since I have used these tools, but previously, these examples built just fine and were a good starting point for a custom project.

Thanks for any help!

  • Hi,

    nRF5SDK v17.1.0 was tested with ARM: MDK-ARM version 5.25. You should use that instead. You might need to download compiler 5 from the ARM website as well.

    If you're starting a new project then I would strongly suggest that you use SEGGER Embedded Studio instead, or even migrate to the newer nRF Connect SDK instead of nRF5SDK. 

    nRF Connect SDK Fundamentals

    regards

    Jared 

  • Thanks for the reply...

    I tried MDK-ARM 5.25 and it had trouble installing some necessary packs so I'll just use SES.  I've never used that before but it looks good so we'll see.

    I have also not heard about nRF Connect SDK.  I'm assuming this is the new path?  Will the nRF5SDK be supported in the future?

  • I opened the blinky_FreeRTOS_pca10056 project from 17.1.0 SDK using the SES 8.10b.  When I rebuild, I receive this error.  Shouldn't these compile out of the box successfully?

    Rebuilding ‘blinky_FreeRTOS_pca10056’ from solution ‘blinky_FreeRTOS_pca10056’ in configuration ‘Debug’
    Assembling ‘thumb_crt0.s’
    Compiling ‘nrf_log_frontend.c’
    Compiling ‘nrf_log_str_formatter.c’
    Compiling ‘boards.c’
    Compiling ‘croutine.c’
    Compiling ‘event_groups.c’
    Compiling ‘heap_1.c’
    Compiling ‘list.c’
    Compiling ‘port.c’
    Compiling ‘port_cmsis.c’
    Compiling ‘port_cmsis_systick.c’
    Compiling ‘queue.c’
    Compiling ‘stream_buffer.c’
    Compiling ‘tasks.c’
    Compiling ‘timers.c’
    Compiling ‘app_button.c’
    Compiling ‘app_error.c’
    Compiling ‘app_error_handler_gcc.c’
    Compiling ‘app_error_weak.c’
    Compiling ‘app_timer_freertos.c’
    Compiling ‘app_util_platform.c’
    Compiling ‘nrf_assert.c’
    Compiling ‘nrf_atomic.c’
    Compiling ‘nrf_balloc.c’
    Compiling ‘nrf_fprintf.c’
    Compiling ‘nrf_fprintf_format.c’
    Compiling ‘nrf_memobj.c’
    Compiling ‘nrf_ringbuf.c’
    Compiling ‘nrf_strerror.c’
    Compiling ‘nrf_drv_clock.c’
    Compiling ‘nrf_nvic.c’
    Compiling ‘nrf_soc.c’
    Compiling ‘nrfx_atomic.c’
    Compiling ‘nrfx_clock.c’
    Compiling ‘nrfx_gpiote.c’
    Compiling ‘bsp.c’
    Compiling ‘main.c’
    Assembling ‘ses_startup_nrf52840.s’
    Assembling ‘ses_startup_nrf_common.s’
    Compiling ‘system_nrf52840.c’
    Generating linker script ‘blinky_FreeRTOS_pca10056.ld’
    Linking blinky_FreeRTOS_pca10056.elf
    .text section is larger than specified size
    .rodata section is larger than specified size
    Build failed
    Build failed

  • It did at my end:

    But you need to use versions of the supported IDE that we have tested, which is specified in the release notes:

     ,

    I used v5.42,

    regards

    Jared 

  • tloos said:
    I have also not heard about nRF Connect SDK.  I'm assuming this is the new path?  Will the nRF5SDK be supported in the future?

    See this,

    regards

    Jared

Related