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

Add nrfx_spim into ble_app_template (nRF5_SDK_15.0.0_a53641a)

Dear Nordic,

What is correct procedure to add nrfx_spim into ble_app_template? I use nRF5_SDK_15.0.0_a53641a

I do the below procedure, but error show ".\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_spim_init (referred from main.o)."

1. Copy peripheral\nrfx_spim main.c  spim code into ble_app_template main.c

2. Enable NRFX_SPIM_ENABLE and NRFX_SPIM3_ENABLED at sdk_config.h

3. Add nrfx_spim.c into the project nrf_Driver folder

Thanks & kind regards

kwan

Related