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

where to define UARTs for the file nrf_drv_uart.h

I have combined the ble_app_uart_c with mesh light switch example. In the file nrf_drv_uart.h it does not show the same "active defines"  as with the original ble_app_uart_c.  UARTE_PRESENT, NRFX_UARTE_ENABLED,UART_PRESENT and NRFX_UART_ENABLED are undefined, hence a compile error.

I have gone through  SDK_config.h and enabled them there I have also tried CMSIS configuration wizard. I have also tried in the pre_processor, but cant get the defines to activate. I see in the top of sdk_config there is a header file active "app_config.h" (which  is in the preprocessor) I have also added the top four defines there.

Anywhere else I can try?

thank you

Parents Reply Children
Related