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

IAR Library (v7.xx to v8.xx) compatibility

I am trying to build the writable_ndef_msg example from the nRF5_SDK_15.2.0. I am using IAR'e Embedded Workbench (ARM v8.30.1) and I get the following Linker Error:

Error[Lt009]: Inconsistent wchar_t size
nfc_t4t_lib.o(nfc_t4t_lib_iar.a) and 1 other objects have wchar_t size 16 bits
app_error.o and 66 other objects, some of them in dl7M_tlf.a and 10 other libraries have wchar_t size 32 bits
Error while running Linker

Having searched the DevZne I see tat over a year ago it became apparent that pre-built libraries are built with an earlier version of the ARM compiler, and that the wchar implementation is not consistent between v7.xx and v8.xx.

Is there a v8 compatible nfc_t4t_lib available that I can use?