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

ble_app_buttonless_dfu use RTT log

Hi, I'm useing ble_app_buttonless_dfu to get log with UART is possibly. I want to change RTT log. How can I do? Board is nRF52-DK. SDK is nRF5_SDK_14.0.0_3bcc1f7.

  • Hi,

    In order to use RTT for logging, you must change the configuration in sdk_config.h.

    Set NRF_LOG_BACKEND_UART_ENABLED to 0, and set NRF_LOG_BACKEND_RTT_ENABLED to 1.

    If you use Keil you can use the Configuration Wizard and find these two settings under nRF_Log. Untick the NRF_LOG_BACKEND_UART_ENABLED and tick the NRF_LOG_BACKEND_RTT_ENABLED.

    Regards,

    Terje

Related