Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Reduce mem footprint of ESP.getResetInfo()#7030

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
earlephilhower merged 1 commit intoesp8266:masterfromdirkmueller:esp_resetinfo
Jan 22, 2020

Conversation

@dirkmueller
Copy link
Contributor

This function has excessively long datastrings that can
better be stored in flash, reducing runtime memory footprint.

Also detailed formatting only makes sense when there is an
exception or a watchdog. In other cases instead of printing
an unhelpful "flag: 0" we can just return the ResetReason, which
is much more readable.

Saves about 120 bytes of (data) memory.

This function has excessively long datastrings that canbetter be stored in flash, reducing runtime memory footprint.Also detailed formatting only makes sense when there is anexception or a watchdog. In other cases instead of printingan unhelpful "flag: 0" we can just return the ResetReason, whichis much more readable.Saves about 120 bytes of (data) memory.
@earlephilhowerearlephilhower merged commit158039e intoesp8266:masterJan 22, 2020
@fsommer1968
Copy link

Thanks for your effort reducing memory footpront 👍🏻

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@d-a-vd-a-vd-a-v approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@dirkmueller@fsommer1968@d-a-v@earlephilhower

[8]ページ先頭

©2009-2025 Movatter.jp