Hi all, I'm using nrf52832 with SDK15 in my project. For debugging purposes I need both CLI and LOG modules enabled with RTT as a transport. I followed this manual to setup putty on PC ( infocenter.nordicsemi.com/.../lib_cli.html. LOG module alone works ok but if I enable CLI I notice that many log messages are lost. I tried to adjust buffers sizes without noticeable result. sdk_config.h holds several settings but I didn't find any description or example how to use them together to make LOG and CLI work together without data loss.
NRF_LOG_ENABLED 1 NRF_LOG_BUFSIZE 512 NRF_LOG_BACKEND_RTT_ENABLED 0 NRF_CLI_ENABLED 1 NRF_CLI_RTT_ENABLED 1 NRF_CLI_LOG_BACKEND 0 NRF_CLI_CMD_BUFF_SIZE 128 NRF_CLI_PRINTF_BUFF_SIZE 23 SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 1024
So question is how to setup the project with this defines to make LOG and CLI work together without data loss?
Thanks