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

Install micro-ecc with SEGGER

Hi

I'm trying to use Crypto but can't get started because micro-ecc isn't installed

The install instructions say:

Enter the subdirectory for the SoC and the toolchain that you are using to build your application:

  • InstallFolder\external\micro-ecc\nrf52_keil\armgcc
  • InstallFolder\external\micro-ecc\nrf52_iar\armgcc
  • InstallFolder\external\micro-ecc\nrf52_armgcc\armgcc

What about Segger Embedded Studio? (nRF52832)

Also, is it necessary to install extra build tools (i.e. isn't is possible to compile this stuff in the IDE?)

Thanks

Parents
  • Hi,

    We are not allowed to provide micro-ecc with the SDK due to limitations in the license of the library. If you want to use the micro-ecc backend, you need to build it yourself using GCC. See the instructions here.

    By default, the micro-ecc backend is not used in the crypto examples, the nRF_Oberon backend is used (NRF_CRYPTO_BACKEND_OBERON_ENABLED=1). You can exclude/remove the micro-ecc library file (micro_ecc_lib_nrf52.a) from the project if you do not intend to use it. That way you should be able to build the examples in SES without any need for additional tools.

    Best regards,
    Jørgen

  • Hi. Yes I understand the licencing issue, and I was referring to the page you linked to which doesn't help because step 4 (which I quoted in my question) doesn't make any reference to SES. "Enter the subdirectory for the SoC and the toolchain that you are using to build your application" - there isn't a subdirectory for Segger.

    Anyway, I probably asked the wrong question because I was just trying to compile the SDK examples to start with which maybe isn't the best approach here.

    I need 2 crypto functions. AES  encrypt/decrypt, and MD5 for file checking. What libraries do I need to include?

Reply
  • Hi. Yes I understand the licencing issue, and I was referring to the page you linked to which doesn't help because step 4 (which I quoted in my question) doesn't make any reference to SES. "Enter the subdirectory for the SoC and the toolchain that you are using to build your application" - there isn't a subdirectory for Segger.

    Anyway, I probably asked the wrong question because I was just trying to compile the SDK examples to start with which maybe isn't the best approach here.

    I need 2 crypto functions. AES  encrypt/decrypt, and MD5 for file checking. What libraries do I need to include?

Children
No Data
Related