-
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
Compile error if CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_RAM set to 1 #29282
Comments
Is kMaxSizeWithoutReserve not used with lwip? It sure seems to be used.... What is the right setting of kMaxSizeWithoutReserve when doing CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_RAM? |
@kpschoedel can you please take a look? |
Did you previously use We would preserve the previous behaviour here by changing that line
to
and I don't immediately see any other unexpected consequences of #29208. |
@kpschoedel Matter currently doesn't fully support I think changing to |
Missed a case of CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_RAM, as there are no in-tree builds using this configuration. (This used CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_TYPE before project-chip#29208.) Fixes project-chip#29282
Missed a case of CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_RAM, as there are no in-tree builds using this configuration. (This used CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_TYPE before project-chip#29208.) Fixes project-chip#29282
After PR #29232 merged, I get compile error , if I define CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_RAM to 1 for our platform.
Here is my found, if there is something wrong, please let me know.
Defining
CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_RAM
to 1 makesCHIP_SYSTEM_PACKETBUFFER_FROM_LWIP_POOL
to 0.Then
CHIP_SYSTEM_CONFIG_PACKETBUFFER_CAPACITY_MAX
, not used for LwIP-based platform, is required in class PacketBuffer as below.The text was updated successfully, but these errors were encountered: