diff --git a/samples/subsys/logging/logger/prj_rtt.conf b/samples/subsys/logging/logger/prj_rtt.conf new file mode 100644 index 00000000000000..5fa850bb084377 --- /dev/null +++ b/samples/subsys/logging/logger/prj_rtt.conf @@ -0,0 +1,8 @@ +CONFIG_LOG=y +CONFIG_LOG_RUNTIME_FILTERING=y +CONFIG_LOG_BUFFER_SIZE=2048 +CONFIG_LOG_PRINTK=y +CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD=0 +CONFIG_LOG_BACKEND_RTT=y +CONFIG_USE_SEGGER_RTT=y +CONFIG_COVERAGE=n diff --git a/samples/subsys/logging/logger/sample.yaml b/samples/subsys/logging/logger/sample.yaml index 42923d8214244b..67096874decfa5 100644 --- a/samples/subsys/logging/logger/sample.yaml +++ b/samples/subsys/logging/logger/sample.yaml @@ -16,3 +16,9 @@ tests: - Severity levels showcase - Logging performance showcase - Logs from external logging system showcase + + test_rtt: + tags: logging + filter: CONFIG_HAS_SEGGER_RTT + harness: keyboard + extra_args: CONF_FILE="prj_rtt.conf"