Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Link error changing from SDK 17.0.0 to SDK 17.0.2

nRF42840DK, SES V4.52c:

Project was copied from 17.0.0 to 17.0.2 and link now fails:

Building 'ble_app_att_mtu_throughput_pca10056_s140' from solution 'ble_app_att_mtu_throughput_pca10056_s140' in configuration 'Debug'
  Linking ble_app_att_mtu_throughput_pca10056_s140.elf
    Output/ble_app_att_mtu_throughput_pca10056_s140 Debug/Obj/ses_startup_nrf_common.o: in function `InitializeUserMemorySections':
    undefined reference to `__RAM1_segment_end__'
Build failed

In a terminal window, I see:

> diff /home/martin/Dropbox_old/Nordic/SDK17/modules/nrfx/mdk/ses_startup_nrf_common.s /home/martin/Dropbox_old/Nordic/SDK1702/modules/nrfx/mdk/ses_startup_nrf_common.s
40a41,45
>  ***********************************************************************************
>  *                                                                                 *
>  *    This file has been modified by Nordic Semiconductor:                         *
>  *        To separate out device-specific data                                     *
>  *                                                                                 *
99c104
< #define STACK_INIT_VAL __RAM_segment_end__
---
> #define STACK_INIT_VAL __RAM1_segment_end__
105a111,112
>
> .thumb_func
>

Any suggestions on how to fix? Thanks.

Related