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 optional, automatic OOM logger parsing for ESP8266 w/low-overhead OOM #30

Closed
wants to merge 1 commit into from

Conversation

earlephilhower
Copy link
Contributor

Howdy @me-no-dev . This is paired with esp8266/Arduino#4220 to implement an almost 0-overhead OOM memory checker in standard (non-OOM build) tests for the ESP8266.

No rush on looking at this unless igrr et. al. are interested in pulling in those changes above.

---snip---
An updated ESP8266 panic function can print out the calling function/line
and size requested for the last malloc/realloc/calloc/new allocation that
failed, without the overhead of full the OOM stack.

Add parsing for this line, when present, and output the function, file,
line, and amount of memory requested to the display. When not present,
do nothing different.

An updated ESP8266 panic function can print out the calling function/line
and size requested for the last malloc/realloc/calloc/new allocation that
failed, without the overhead of full the OOM stack.

Add parsing for this line, when present, and output the function, file,
line, and amount of memory requested to the display.  When not present,
do nothing different.
@earlephilhower
Copy link
Contributor Author

Closing in lieu of the more-complete update proposed in #31 which will help both ESP32 and ESP8266 by working around toolchain problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant