Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using the LIBUARTE library with BLE NUS

Hi 

I'm trying to use the LIBUARTE library together with BLE_NUS example in SDK 17.2.

From the libuarte sample I add these lines to NUS example:

#include "nrf_libuarte_async.h"

NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 1, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);

I also modify sdk_setup.h from NUS example to match LIBURTE example. Note: NRFX_PPI_ENABLED is set to 1.

Still I get this error message:

Error: L6218E: Undefined symbol nrfx_ppi_channel_alloc (referred from nrf_libuarte_drv.o).

I can see in nrfx_ppi.c that all functions are indeed disabled after this line:

#if NRFX_CHECK(NRFX_PPI_ENABLED)

But I have set this in sdk_setup.h!!!?

Can anyone help with these settings?

Parents Reply Children
No Data
Related