Skip to content

EXTRA_ZEPHYR_MODULES causes lots of 'the choice symbol' warnings #89998

Answered by RobbieKhan
RobbieKhan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @DerekSnell.
Thank you for your tip! I started looking into it and finally found the issue.

I have created new zephyr module with Kconfig and CMakeLists.txt - let's assume, that they are correct.

That was actually a bad guess :)

The root of the problem was lying in my Kconfig files.
I was attaching source Kconfigs relatively to the module folder, like this:
source "drivers/Kconfig"
But I forgot, that source is expecting files relatively to the zephyr path. That's why it was sourcing Kconfig from F:/Work/Zephyr/zephyrproject/zephyr/drivers/Kconfig leading to duplicate inclusion of everything that is mentioned there and tons of that drivers related warnings.

Now I actually need to und…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RobbieKhan
Comment options

Answer selected by RobbieKhan
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