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

Add NFC tag library to Segger Embedded Studio Project

Hello! I don't quite understand how to properly link NFC tag library (nfc_t2t_lib_gcc.a) to Segger Embedded Studio Project.

Steps I did:

  1. Add nfc_t2t_lib_gcc.a to the project with: Add Existing File -> and select particular file

  2. Added directories where to search for include files: Edit Options -> Preprocessor -> User Include

$(NrfSdkPath)/components/nfc/t2t_lib

$(NrfSdkPath)/components/nfc/t2t_lib/hal_t2t

  1. also added hal_nfc_t2t.c file to the project

But when I build I get following error: In function nfc_t2t_emulation_start': 1> C:\build\HUSS-NFCL33-JOB1\private\nfc_t2t_lib\armgcc/../nfc_t2t_lib.c:566: undefined reference tohal_nfc_start'

I am running Embedded Studio on Ubuntu 16.04 and using SDK version 14.1.0.

Hoping for help!

Related