diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2025-03-28 15:30:29 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-05-15 11:29:41 +1000 |
commit | 24065824796b54d42fdb93457bf53d21656e473e (patch) | |
tree | 8c1a84f549298461a7285f3862e51cc5388908c7 /tools/verifygitlog.py | |
parent | 155fa94fbf6afda9dbb3b8508c093648b5bffa09 (diff) |
esp32/network_common: Raise a memory error on ESP_ERR_NO_MEM.
This commit changes the error handler for WiFi operations to recognise
out of memory conditions reported by ESP-IDF functions, and report them
as more descriptive exceptions rather than a generic "error 0x101".
The error handler only provided a human-readable error description for
WiFi-specific error codes (codes in the ESP_ERR_WIFI_BASE range), but
WiFi functions are known to return other codes. Now ESP_ERR_NO_MEM is
covered with a specific error message, making it easier to debug issues
related to running out of ESP-IDF heap.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'tools/verifygitlog.py')
0 files changed, 0 insertions, 0 deletions