Issue when log2, printk and assert together
Good. It is got fixed now.
Thank you for the response.
From: Chruściński, Krzysztof <Krzysztof.Chruscinski@...>
Sent: 21 July 2021 05:56 PM
To: devel@...; Srinivasan Tamilarasan <Srinivasan.Tamilarasan@...>
Subject: ODP: Issue when log2, printk and assert together
[External Email]: This email arrived from an external source - Please exercise caution when opening any attachments or clicking on links.
good timing. Fix for that has been merged 40 minutes ago: https://github.com/zephyrproject-rtos/zephyr/pull/36883
devel@... <devel@...> w imieniu użytkownika Srinivasan Tamilarasan via lists.zephyrproject.org <srinivasan.tamilarasan=onsemi.com@...>
When enable CONFIG_LOG2_MODE_DEFERRED=y, CONFIG_LOG_PRINTK=y and CONFIG_ASSERT=y flag. I am getting the build error even there is no log/assert messages are used.
PFA of cmake error log.
But when I change to old method CONFIG_LOG_MODE_DEFERRED=y then there is no build error.
Can anyone help me to resolve this error?
Idea is I need to use both assert and log together in the same project and printk messages needs to route via logging subsystem.