Skip to content

Different debug console behavior between zephyr 3.2 and 3.5 #66526

Answered by DerekSnell
MarsMSWu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @MarsMSWu ,
Sorry, CONFIG_LOGGING was an error. As you found, the correct symbol is CONFIG_LOG.

Do you mean you also agree "not set CONFIG_LOG=y" is correct solution for my case ?

I was confused by your previous description, and the details of this issue. But based on your last response, and rereading this, it seems your v3.5 port only prints everything when CONFIG_LOG=n. Is that correct? I assume you are not using the Logging APIs then. Are you printing to the console with printk()?

If your app is not using the Logging APIs and features, then you can disable that subsystem. Many of the Zephyr drivers and subsystems use Logging, so you may find it helpful to enable for debugging. If …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@MarsMSWu
Comment options

@DerekSnell
Comment options

Answer selected by DerekSnell
@MarsMSWu
Comment options

@DerekSnell
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants