This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

/nrf_crypto_allocator.h: No such file or directory

I am getting below error when editing dfu secure project as the baseline

/nrf_crypto_allocator.h: No such file or directory

the project is modified as below

    <folder Name="Application">
      <file file_name="../dfu_public_key.c" />
      <file file_name="../main.c" />
      <file file_name="../config/nrf_crypto_allocator.h" />
    </folder>

in solution explorer when a double click nrf_crypto_allocator.h it gets opened i dont know why it is behaving like this

I am using segger embedded studio and sdk:17.1.0

Parents
  • Hi,

    This is a file name that is used in two nRF5 SDK examples, but not generally needed. It is needed in some cases and then NRF_CRYPTO_ALLOCATOR in sdk_config.h is set to 1. 

    So the first question is why you have included it - do you need it? And secondly, if you need it and have the include path setup correctly, it should be included. If it is not found it is because your include path does not contain the location where it is, relative to your project file.

Reply
  • Hi,

    This is a file name that is used in two nRF5 SDK examples, but not generally needed. It is needed in some cases and then NRF_CRYPTO_ALLOCATOR in sdk_config.h is set to 1. 

    So the first question is why you have included it - do you need it? And secondly, if you need it and have the include path setup correctly, it should be included. If it is not found it is because your include path does not contain the location where it is, relative to your project file.

Children
Related