This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zephyr RTT Problems

Hi,

I am desperately trying to read some RTT Input with Zephyr, but I just cant get it to work!

All I want is to read the RTT Input. I tried with the console and the shell subsystem, but did not get it to work. I can see my logging messages, but cannot write anything.

CONFIG_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_CONSOLE_SUBSYS=y
CONFIG_CONSOLE_GETLINE=y


CONFIG_LOG=y
CONFIG_LOG_PROCESS_THREAD=y
CONFIG_LOG_BACKEND_UART=n
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_STRDUP_BUF_COUNT=100
strcpy(test,console_getline());
is what my last attempt looked like. but no success.
I also tried using the SEGGER RTT library, but as soon as I use it, I cannot even see my log output.
Appreciate any help!
thanks,
Jonas
Related