nRF5 SDK v17.1.0
Macros
Log RTT backend configuration

Macros

#define NRF_LOG_BACKEND_RTT_ENABLED
 Enable RTT backend. More...
 
#define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE
 Size of buffer for partially processed strings. More...
 
#define NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS
 Period before retrying writing to RTT. More...
 
#define NRF_LOG_BACKEND_RTT_TX_RETRY_CNT
 Writing to RTT retries. More...
 

Detailed Description

Macro Definition Documentation

#define NRF_LOG_BACKEND_RTT_ENABLED

Enable RTT backend.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE

Size of buffer for partially processed strings.

Size of the buffer is a trade-off between RAM usage and processing. if buffer is smaller then strings will often be fragmented. It is recommended to use size which will fit typical log and only the longer one will be fragmented.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_RTT_TX_RETRY_CNT

Writing to RTT retries.

If RTT fails to accept any new data after retries module assumes that host is not active and on next request it will perform only one write attempt. On successful writing, module assumes that host is active and scheme with retry is applied again.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS

Period before retrying writing to RTT.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated