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

merge nrf5 sdk with mesh error

I'm trying to merge uart example in nrf5 sdk with light switch server example in mesh sdk

but I'm only facing these 2 errors :

when Linking uart_pca10040.elf:

Output/uart_pca10040 Debug/Obj/rtt_input.o: In function `TIMER2_IRQHandler':

undefined reference to `SEGGER_RTT_GetKey'

Any help?

Parents
  • Hi,

    SEGGER_RTT_GetKey() is declared in SEGGER_RTT.h and defined in SEGGER_RTT.c. Those files seems to be correctly set up in the light switch server example from nRF5 SDK for Mesh version 1.0.1., can you check and see if they are correctly included in your project as well?

    What versions of both SDKs are you using?

    Also, what guide or tutorial are you following for merging the examples, and have you started with the nRF5 SDK UART example or have you started with the nRF5 SDK for Mesh light_switch example?

    Regards,
    Terje

  • Hi,

    Thank you for your response, actually SEGGER_RTT.h is included in rtt_input.c as well as in the project options.

    I'm using nRF5_sdk_v14.2 and mesh_sdk_v1.0.1

    I'm following This tutorial and i started with nRF5 SDK UART example.

Reply Children
Related