-
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
[esp32] reduce default event queue size #7217
Conversation
Why is the event queue too large? It is too large for QPG where it was reduced to save RAM, however if the larger devices support it, is there any reason to reduce it? Please add more details about why this change is required in the summary. |
@andy31415 @tcarmelveilleux The defautl value in the platform config is left default and the value in ESP32 Kconfig is modified since we do have received complaints on heap usage. |
/rebase |
/rebase |
The event queue is way too large by default, occupying 6.4 KB. This PR reduces its size to optimize heap usage on esp32.
a8034c2
to
7339925
Compare
The event queue is way too large by default, occupying 6.4 KB. This PR reduces its size to optimize heap usage on esp32.
Problem
The event queue is way too large by default, occupying 6.4 KB.
Change overview
Reduce the default event queue size to 25. This value has teen long used in qpg and efr platforms.
Testing
Build all-cluster-app on ESP32 and pair with chip-device-ctrl. The pairing flow can still work.