-
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] Remove SupportedModes implementation of ModeSelect from nvs and use all-clusters-apps common implementation #34044
[ESP32] Remove SupportedModes implementation of ModeSelect from nvs and use all-clusters-apps common implementation #34044
Conversation
jadhavrohit924
commented
Jun 24, 2024
- Remove SupportedModes implementation of ModeSelect from nvs and use all-clusters-apps common implementation.
- Tested esp32/all-clusters-app
PR #34044: Size comparison from 07ac2f1 to 3193638 Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…nd use all-clusters-apps common implementation
3193638
to
c1dcb34
Compare
PR #34044: Size comparison from 7c04979 to c1dcb34 Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Can you try any other example (lighting-app) as well? |
Done. It's working fine. |
@jadhavrohit924 This PR does not seem to explain WHY the implementation was removed. I imagine common code is better than specific code, however it is still useful to actually explain changes. For example I do not understand why we got #34191 as a revert now. The history of this seems to be just "tested and it works fine" and it does not explain the intent behind the change (and revert is not explained either) |
@andy31415 Sorry for the inconvenience. Actually, we thought of using common implementation and planned to remove this fixed attributes from the factory partition because of while OTA, we cannot update these attributes as factory partition can’t be change in OTA. But later we thought of supporting this fixed attributes in the factory partition for backward compatibility along with SDKs common implementation which has static data. |
…nd use all-clusters-apps common implementation (project-chip#34044)