4 years, 3 months ago.

Help needed in mbed project configuration?! (object code not found)

Hi I have been stucked for some days due to a project | properties (I think) configuration or something like that... I have a simple mbed (nRF51822) project where the aim is to evaluate the encryption capabilities.

I have included the "nrf_ecb.h" header file

  1. include "mbed.h"
  2. include "ble/BLE.h"
  3. include "nrf_ecb.h"

...

Error: Undefined symbol nrf_ecb_init() (referred from main.RBLAB_BLENANO.o).

and i know that the nrf_ecb.c file is in the path:

proj/nRF51822/TARGET_MCU_NRF51822/sdk/source/drivers_nrf/hal/nrf_ecb.c

However, when I compile the project the header file is compiled but linker can not find the nrf_ecb.c object code.

How can I tell the compiler where the nrf_ecb object / .c is?

Thanks a lot

Alex

Be the first to answer this question.