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

Missing file when compiling NFC pairing example

Hi,

After setting up my IDE and toolchain and trying out some example codes, I wanted to try the example for NFC pairing from SDK ver 17.0.2, because the pairing via NFC will be key to my application scenario. I wanted to try out the example "ble_nfc_pairing_reference". After (hopefully successfully) compiling and adding the micro-ecc library to my project, I get an error when I try to compile in Segger Embedded Studio:

"can't open '.../SDK17.0.2/nRF5SDK1702d674dde/nRF5_SDK_17.0.2_d674dde/examples/ble_peripheral/experimental/ble_nfc_pairing_reference/pca10056/s140/ses/Output/Release/Obj/ble_nfc_pairing_reference_pca10056_s140/nrf_hw_backend_init.asm' for writing: No such file or directory"

Seems like this file is used to initialize the hardware. But where do I get it from? And why is it missing in the example? Or am I missing something?

Any help would be appreciated.

Parents Reply
  • Yes, it is under nrf52hf_armgcc\armgcc. I now reinstalled the whole SDK, re-compiled the micro-ecc library and opened the SES example project. The compile process now gets further, at least it compiles the nrff_hw_backend_init.c file and seems to find hw_backend_init.asm. But now it does not find "nrf_hw_backend_rng_mbedtls.asm".

    Whole error string:

    can't open '.../nRF5SDK1702d674dde/nRF5_SDK_17.0.2_d674dde/examples/ble_peripheral/experimental/ble_nfc_pairing_reference/pca10056/s140/ses/Output/Release/Obj/ble_nfc_pairing_reference_pca10056_s140/nrf_hw_backend_rng_mbedtls.asm' for writing: No such file or directory

    Maybe I am doing something wrong in SES? Since I am using the "ble_nfc_pairing_reference" example the nRF_micro-ecc file is already in the project (picture below), so I did not include it as described on the corresponding infocenter site. Maybe this is the reason? 

Children
Related