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

Merging two examples in SDK14

Hi,

I've been working with SDK11, and now I have to move my project to SDK14 due to some issues with the old SDK.
In SDK11 I could just use Keil's "Manage Run-Time Enviroments" dialog to add whatever libraries I needed, and it worked.

Now I've started moving all my code to SDK14 and things don't work as they did, and now I'm trying to get the same code working.

I've started by taking the ble_app_uart example and adding to it the record_url example. I merged the required code, I went in the project options
under C/C++, ASM and appended the library paths there, but it still does not work, I keep getting:

linking...
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_t2t_emulation_start (referred from main.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_t2t_payload_set (referred from main.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_t2t_setup (referred from main.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_uri_msg_encode (referred from main.o).
Not enough information to list image symbols.

I even tried merging the makefiles.

Also where did the nrf_drv_config.h file go?
Where do I now enable peripherals?

Parents
  • I finally got it to work on the devboard, but now I need to get it working on my board, on which everything works fine with the SDK11.
    On my board I don't have the 32.768kHz crystal so I need to enable the RC oscillator, also no DCDC converter.
    I did try setting the sdk config file, but its still not working.
    I removed the UART initialization since the RX pin is left floating, but that did not change anything.

  • I am suffering from the same error as you in the past. 

    .\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol nfc_t2t_emulation_start (referred from main.o).

    I tried to integrate on the same sdk, but an error occurred. If you add some C files to the project window as in the record_text example, i do not see "undefined symbol" errors, but got a new error that "nfc_t2t_lib_keil.lib could not open." Could you explain how I solved it? Help is urgent ...

  • That was a while ago, so I don't remember anymore what was the solution.
    But one of the issues with how keil works is that you have to add the paths to the library in more than one place to get it working. Also you must have the correct version of the library itself otherwise it wont work either.

Reply Children
No Data
Related