I am using Zephyr with a nRF5340 DK with the nRF Connect for VSCode Add-In. I am not getting the debug messages I am sending to it unless there is some sort of error and I get the last one.
#include <zephyr/logging/log.h> LOG_MODULE_REGISTER(mymodule, LOG_LEVEL_DBG);
LOG_DBG("starting..."); printf("testing...\n");
CONFIG_LOG=y CONFIG_DEBUG=y CONFIG_USE_SEGGER_RTT=y CONFIG_LOG_BACKEND_RTT=y CONFIG_LOG_BACKEND_UART=y
testing...
comes through and eventually the starting...
comes through after an error and reboot and some other inf lines from littlefs, but I have a bunch of other LOG_DBG
messages that don't come through. I need to see what's happening leading up to the problem.