micropython/tests/esp32/esp32_idf_heap_info.py.exp
Thorsten von Eicken a177831c46 esp32/modesp32: Add idf_heap_info(capabilities) to esp32 module.
This commit adds an idf_heap_info(capabilities) method to the esp32 module
which returns info about the ESP-IDF heaps.  It's useful to get a bit of a
picture of what's going on when code fails because ESP-IDF can't allocate
memory anymore.  Includes documentation and a test.
2020-04-23 00:02:11 +10:00

6 lines
111 B
Plaintext

HEAP_DATA >2: True
HEAP_DATA [True, True, True, True]
HEAP_EXEC >2: True
HEAP_EXEC [True, True, True, True]
[]