This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Migrating to SDK14

Hi, I am trying to migrate to SDK14.2 from SDK12.

I have succesfully migrated to SDK13, but I am seeing linker issues with 14.

The linker comes with the following errors: In function nrf_sdh_ble_evts_poll': ../../SDK14.2.0/components/softdevice/common/nrf_sdh_ble.c:273: undefined reference tonrf_section_iter_init' ../../SDK14.2.0/components/softdevice/common/nrf_sdh_ble.c:275: undefined reference to `nrf_section_iter_next'

also for function sdh_request_observer_notify sdh_state_observer_notify nrf_sdh_evts_poll nrf_sdh_soc_evts_poll conn_params_init

I have included the .c files in the makefile and the headers are in the include paths...

Makefile

I dont know how to continue.

Br Bjarke

Parents
  • Hi,

    Add the file nrf_section_iter.c to your project to fix the undefined reference to nrf_section_iter_init and nrf_section_iter_next:

    $(SDK_ROOT)/components/libraries/experimental_section_vars/nrf_section_iter.c

    Please give the error messages you get for the other functions.

  • Thanks, I have added the .c to the makefile, and it compiles now. What I dont understand is that a "normal" part of the sdk is now placed in experimental folders...

    BTW how to add code in the post without looking weird. And how to add multiple tags..

    BR

Reply
  • Thanks, I have added the .c to the makefile, and it compiles now. What I dont understand is that a "normal" part of the sdk is now placed in experimental folders...

    BTW how to add code in the post without looking weird. And how to add multiple tags..

    BR

Children
No Data
Related