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

add 'NO_GLOBAL_UPDATE' define to disable global UpdateClass instance #8500

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

vortigont
Copy link
Contributor

Saves 180 bytes of RAM if UpdateClass instance is not required in project
follows same semantics as for
NO_GLOBAL_HTTPUPDATE
NO_GLOBAL_ARDUINOOTA

P.S. I could come up with PR for refactored UpdateClass where MD5Builder _md5 member is created on-demand allocating from a heap for the duration of update. Could save about 100 bytes for global UpdateClass instance. but I'm not sure it worth the efforts and would be accepted. Let me know.

…stance

Save 180 bytes of ram if UpdateClass instance is not required
@CLAassistant
Copy link

CLAassistant commented Aug 8, 2023

CLA assistant check
All committers have signed the CLA.

@VojtechBartoska VojtechBartoska added the Status: Awaiting triage Issue is waiting for triage label Aug 28, 2023
@VojtechBartoska VojtechBartoska added the Status: Review needed Issue or PR is awaiting review label Aug 28, 2023
@me-no-dev me-no-dev merged commit f0910e6 into espressif:master Aug 29, 2023
@vortigont vortigont deleted the updtr_mem branch August 29, 2023 12:08
vortigont added a commit to vortigont/FireLamp_JeeUI that referenced this pull request Sep 22, 2023
would save 180 bytes on Updater class instance
espressif/arduino-esp32#8500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting triage Issue is waiting for triage Status: Review needed Issue or PR is awaiting review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants