diff options
author | Thorsten von Eicken <tve@voneicken.com> | 2020-03-28 23:00:06 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-23 00:02:11 +1000 |
commit | a177831c46a7e217fed6562510e12183377053f7 (patch) | |
tree | 5948016216c968238cf89059dae144bd325a06b3 /tests/esp32/esp32_idf_heap_info.py.exp | |
parent | 6a1c7ea81598489373ed9e2b84cb300584050ae8 (diff) | |
download | micropython-a177831c46a7e217fed6562510e12183377053f7.tar.gz micropython-a177831c46a7e217fed6562510e12183377053f7.zip |
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.
Diffstat (limited to 'tests/esp32/esp32_idf_heap_info.py.exp')
-rw-r--r-- | tests/esp32/esp32_idf_heap_info.py.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/esp32/esp32_idf_heap_info.py.exp b/tests/esp32/esp32_idf_heap_info.py.exp new file mode 100644 index 0000000000..2b63bf3259 --- /dev/null +++ b/tests/esp32/esp32_idf_heap_info.py.exp @@ -0,0 +1,5 @@ +HEAP_DATA >2: True +HEAP_DATA [True, True, True, True] +HEAP_EXEC >2: True +HEAP_EXEC [True, True, True, True] +[] |