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

micro-ecc compilation error

image description

I have uploaded the Image with Keil µVision compilation errors, included Files in main.c and on the left side the compilation of micro_ecc_lib_nrf52.lib file using " build_all.bat " bash script file and mingw32-make.

Regarding the Nordic Info Center about files missing or to be updated, I think It was my misunderstanding about missing files in SDKv13.0.0 as stated in the first NOTE section of this link infocenter.nordicsemi.com/index.jsp

Thanks and regards, Kumar

Parents
  • Hi,

    You need to add the compiled library to your project in addition to the header files (the source files of micro-ecc should not be added).

    The library needs to be compiled using the scripts build_all.bat/.sh, found in external/micro-ecc directory, or as described on this page, and you need to include the correct library depending on your hardware. This is the paths for SDK v14.2.0.

    nRF51 series:

    external\micro-ecc\nrf51_keil\armgcc\micro_ecc_lib_nrf51.lib
    

    nRF52832/nRF52840:

    external\micro-ecc\nrf52hf_keil\armgcc\micro_ecc_lib_nrf52.lib
    

    nRF52810:

    external\micro-ecc\nrf52nf_keil\armgcc\micro_ecc_lib_nrf52.lib
    

    Best regards,

    Jørgen

Reply
  • Hi,

    You need to add the compiled library to your project in addition to the header files (the source files of micro-ecc should not be added).

    The library needs to be compiled using the scripts build_all.bat/.sh, found in external/micro-ecc directory, or as described on this page, and you need to include the correct library depending on your hardware. This is the paths for SDK v14.2.0.

    nRF51 series:

    external\micro-ecc\nrf51_keil\armgcc\micro_ecc_lib_nrf51.lib
    

    nRF52832/nRF52840:

    external\micro-ecc\nrf52hf_keil\armgcc\micro_ecc_lib_nrf52.lib
    

    nRF52810:

    external\micro-ecc\nrf52nf_keil\armgcc\micro_ecc_lib_nrf52.lib
    

    Best regards,

    Jørgen

Children
Related