-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] LWIP_PBUF_FROM_CUSTOM_POOLS and PBUF_POOL_SIZE don't seem to be set up in a reasonable way #29211
Comments
|
Interestingly, we have other headers using LWIP_PBUF_FROM_CUSTOM_POOLS without obviously including lwipopts.h. But maybe those are just broken? For now I am going to condition the use of the LwIP things on CHIP_SYSTEM_CONFIG_USE_LWIP, and then we'll see what happens when we actually try to turn on -Wundef on the LwIP-using platforms. |
lwipopts could be transitively picked up via any other lwip include somewhere in the tree. |
…oject-chip#29408) * Don't use LwIP defines if CHIP_SYSTEM_CONFIG_USE_LWIP is not set. Fixes project-chip#29211 * Address review comment.
Reproduction steps
LWIP_PBUF_FROM_CUSTOM_POOLS and PBUF_POOL_SIZE are used by some of our config headers (as in, its value is used in
ReliableMessageProtocolConfig.h
), but where are they supposed to be defined by consumers? Some things seem to have them inlwipopts.h
, but our config headers don't includelwipopts.h
, right?How is this supposed to work?
Bug prevalence
Always
GitHub hash of the SDK that was being used
b02c984
Platform
other
Platform Version(s)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: