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

ble_nfc_pairing_reference compile problem

Hello,

I am getting an error message while I was compiling the "ble_nfc_pairing_reference" example. How can I obtain this "micro_ecc_lib_nrf52.a" file ?

Fatal Error[Li001]: could not open file "E:\nRF5_SDK\external\micro-ecc\nrf52hf_iar\armgcc\micro_ecc_lib_nrf52.a"

Parents
  • Hi,

    From the error messages it looks like you are using IAR. What version of IAR are you using. There was a change around IAR v8.10 where wchar_t was changed from 16 bits to 32 bits, and the linker will fail is trying to link objects of different wchar_t setting.

    I assume that you use the latest version of the nRF5 SDK, which at the point of writing is v15.0.0. There is a note for IAR users in the SDK release notes (provided with the SDK as well as on the Indroduction page of the online SDK documentation.) It has instructions for how to fix the wchar_t issue.

    Regards,
    Terje

Reply
  • Hi,

    From the error messages it looks like you are using IAR. What version of IAR are you using. There was a change around IAR v8.10 where wchar_t was changed from 16 bits to 32 bits, and the linker will fail is trying to link objects of different wchar_t setting.

    I assume that you use the latest version of the nRF5 SDK, which at the point of writing is v15.0.0. There is a note for IAR users in the SDK release notes (provided with the SDK as well as on the Indroduction page of the online SDK documentation.) It has instructions for how to fix the wchar_t issue.

    Regards,
    Terje

Children
No Data
Related