首页 > 其他分享 >[NRF_LOG] NRF_LOG_HEXDUMP_INFO 增大打印数量

[NRF_LOG] NRF_LOG_HEXDUMP_INFO 增大打印数量

时间:2022-10-31 18:32:59浏览次数:57  
标签:INFO LOG MSGPOOL NRF ELEMENT memory pool


修改图中位置就能增大打印数量

[NRF_LOG] NRF_LOG_HEXDUMP_INFO 增大打印数量_html

 

// <h> Log message pool - Configuration of log message pool

//==========================================================
// <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects.
// <i> If a small value is set, then performance of logs processing
// <i> is degraded because data is fragmented. Bigger value impacts
// <i> RAM memory utilization. The size is set to fit a message with
// <i> a timestamp and up to 2 arguments in a single memory object.

#ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
#define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
#endif

// <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects
// <i> If a small value is set, then it may lead to a deadlock
// <i> in certain cases if backend has high latency and holds
// <i> multiple messages for long time. Bigger value impacts
// <i> RAM memory usage.

#ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
#define NRF_LOG_MSGPOOL_ELEMENT_COUNT 20
#endif

[NRF_LOG] NRF_LOG_HEXDUMP_INFO 增大打印数量_nrf51_02

[NRF_LOG] NRF_LOG_HEXDUMP_INFO 增大打印数量_nrf51_03

 

 

标签:INFO,LOG,MSGPOOL,NRF,ELEMENT,memory,pool
From: https://blog.51cto.com/xuejianqiang/5810876

相关文章