Can operate RTT logs on Zephyr based project

I am trying to use RTT logs for debuging. I have no UART in my board. so, this is my ony option for debuing.

I tried it on my board and the nrf52dk/nrf52832 board.

I take the example from \zephyr\samples\basic\blinky and I am trying to follow the instructions

in DevAcadamey (such as Logger module) or many other sources to operate and see the RTT logs but I failed in all of them.

Can you send me step by step instructions how to change the basic blinky example (or another example)

in a way that RTT logs will work.

By the way, in my previous projects in nrf connect without zephyr I use the RTT without any problem by changing the sdk_config.h

#define NRF_LOG_BACKEND_RTT_ENABLED 1

Parents Reply Children
No Data
Related