Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bouffalolab] CFG_COMPONENT_BLOG_ENABLE is not defined but tested as an integer #29585

Open
bzbarsky-apple opened this issue Oct 5, 2023 · 0 comments

Comments

@bzbarsky-apple
Copy link
Contributor

bzbarsky-apple commented Oct 5, 2023

Reproduction steps

See https://github.com/project-chip/connectedhomeip/actions/runs/6419947076/job/17430924667?pr=29582

INFO    In file included from ../../examples/lighting-app/bouffalolab/bl602/third_party/connectedhomeip/third_party/bouffalolab/repo/components/fs/vfs/device/vfs_uart.c:16:
INFO    ../../examples/lighting-app/bouffalolab/bl602/third_party/connectedhomeip/third_party/bouffalolab/repo/components/stage/blog/blog.h:49:6: error: "CFG_COMPONENT_BLOG_ENABLE" is not defined, evaluates to 0 [-Werror=undef]
INFO       49 | #if (CFG_COMPONENT_BLOG_ENABLE == 1)
INFO          |      ^~~~~~~~~~~~~~~~~~~~~~~~~

It's not clear to me whether this should be including some config header that would define it, or testing via #ifdef instead.

@wy-hh

Platform

other

Platform Version(s)

No response

Type

CI tested

(Optional) If manually tested please explain why this is only manually tested

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant