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

Undefined symbol nrf_ecb_init()

Hi

I am working with mbed targetting for ReadbearLab Ble Nano. I am trying to encrypt payload before sendind it with:

include "nrf_ecb.h" ...

int main(void) { ... nrf_ecb_init(); nrf_ecb_set_key(key);

But I see:

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

(I can compile and deploy other kind of programs targeting Ble nano.)

Hence it seems that @ linker stage there is no nrf_ecb.o.

Do I have to include any lib or c file by hand?

Using mbed

Thanks

Alex

Related