Hi
I am trying to add the secure DFU bootloader (BLE) code to an existing application for the nRF52840. I'd like to send the logging information over UART. What are the steps to do this? I have tried the following:-
In sdk_config.h:-
#ifndef NRF_LOG_ENABLED
#define NRF_LOG_ENABLED 0
#endif
#ifndef UART_ENABLED
#define UART_ENABLED 0
#endif
In the Makefile, added the following source files:-
$(SDK_ROOT)/components/libraries/experimental_log/src/nrf_log_backend_rtt.c \
$(SDK_ROOT)/components/libraries/experimental_log/src/nrf_log_backend_serial.c \
$(SDK_ROOT)/components/libraries/experimental_log/src/nrf_log_default_backends.c \
$(SDK_ROOT)/components/libraries/experimental_log/src/nrf_log_frontend.c \
$(SDK_ROOT)/components/libraries/experimental_log/src/nrf_log_str_formatter.c \
$(SDK_ROOT)/components/libraries/experimental_memobj/nrf_memobj.c \
$(SDK_ROOT)/external/fprintf/nrf_fprintf.c \
$(SDK_ROOT)/external/fprintf/nrf_fprintf_format.c \
$(SDK_ROOT)/components/libraries/experimental_log/src/nrf_log_backend_uart.c
However, I still cannot see any debugging messages over UART. Is there something else that I'm missing?
I am using SDK v15.0.0 and softdevice v6.0.0 and I am building my project using arm-none-eabi-gcc v4.9.3 on a Windows 7 OS.
Thanks
Youssif