Viewing NRF_LOG_INFO output

How could I view the logs outputted via NRF_LOG_INFO? Do I really have to set up the UART connection for it which means having UART driver in place?

Parents
  • Hi,

     

    How could I view the logs outputted via NRF_LOG_INFO? Do I really have to set up the UART connection for it which means having UART driver in place?

    It supports two backends to be defined in sdk_config.h:

    NRF_LOG_BACKEND_RTT_ENABLED

    or:

    NRF_LOG_BACKEND_UART_ENABLED

     

    By setting NRF_LOG_BACKEND_RTT_ENABLED to '1' (and disabling the UART backend), you can use JLink RTT Viewer to see your prints.

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    How could I view the logs outputted via NRF_LOG_INFO? Do I really have to set up the UART connection for it which means having UART driver in place?

    It supports two backends to be defined in sdk_config.h:

    NRF_LOG_BACKEND_RTT_ENABLED

    or:

    NRF_LOG_BACKEND_UART_ENABLED

     

    By setting NRF_LOG_BACKEND_RTT_ENABLED to '1' (and disabling the UART backend), you can use JLink RTT Viewer to see your prints.

     

    Kind regards,

    Håkon

Children
Related