You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I am running Zephyr shell in my MCU firmware, and thus, I am using shell for logging, CONFIG_SHELL_LOG_BACKEND. However, I would like to obtain early logging messages prior to shell is available, so I have also enabled CONFIG_LOG_BACKEND_UART. However, this would cause all log messages in shell to be printed twice. So it seems like I can't have CONFIG_LOG_BACKEND_UART and CONFIG_SHELL_LOG_BACKEND at the same time. Would like to know what would be the proper way to enable early log and also use shell for logging without duplicate log
Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am running Zephyr shell in my MCU firmware, and thus, I am using shell for logging,
CONFIG_SHELL_LOG_BACKEND
. However, I would like to obtain early logging messages prior to shell is available, so I have also enabledCONFIG_LOG_BACKEND_UART
. However, this would cause all log messages in shell to be printed twice. So it seems like I can't haveCONFIG_LOG_BACKEND_UART
andCONFIG_SHELL_LOG_BACKEND
at the same time. Would like to know what would be the proper way to enable early log and also use shell for logging without duplicate logThanks!
Beta Was this translation helpful? Give feedback.
All reactions