Howdy @me-no-dev . This is paired with https://github.com/esp8266/Arduino/pull/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.
Howdy @me-no-dev . This is paired with https://github.com/esp8266/Arduino/pull/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.