Use micro_ecc_lib_nrf52.lib with Segger Embedded Studio

Hi,

I am actually tring to migrate a project from Keil to Segger Embedded Studio (SES) and i have a problem with the build of my project when tring to build ecc.c.

The program works perfectly with keil and is build without any issue.

The buildings problems with Segger Embedded are:

  1. undefined reference to 'uECC_set_rng'
  2. undefined reference to 'uECC_secp256r1'
  3. undefined reference to 'uECC_shared_secret'

These functions are referenced in uECC.h which depends of micro_ecc_lib_nrf52.lib.

uECC.h is located in: ../../../../../../components/micro-ecc/micro-ecc

micro_ecc_lib_nrf52.lib in located in: ../external/micro-ecc/nrf52_keil/armgcc

So my question is, is micro_ecc_lib_nrf52.lib library compatible with Segger Embedded Studio or only with Keil.

Thanks you !