zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.77k stars 6.57k forks source link

Why LOG_BACKEND_RTT is forcefully selected if SHELL_BACKEND_RTT is not selected #76291

Open omkar3141 opened 3 months ago

omkar3141 commented 3 months ago

The SHELL backends and LOG backends have different usage and following line in Kconfig gives some undesired side effect of enabling RTT logging when it is not needed, requiring projects to disable this explicitly.

https://github.com/zephyrproject-rtos/zephyr/blob/8ca14a7762ab055525dc4d59ed130c99a232eb32/subsys/logging/backends/Kconfig.rtt#L7

I think this line should be removed.

github-actions[bot] commented 4 weeks ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

omkar3141 commented 3 weeks ago

It could be useful to solve this.