circuitpython/tests/esp32
Thorsten von Eicken 1ae7e0e561 esp32: Consolidate check_esp_err functions and add IDF error string.
This commit consolidates a number of check_esp_err functions that check
whether an ESP-IDF return code is OK and raises an exception if not.  The
exception raised is an OSError with the error code as the first argument
(negative if it's ESP-IDF specific) and the ESP-IDF error string as the
second argument.

This commit also fixes esp32.Partition.set_boot to use check_esp_err, and
uses that function for a unit test.
2020-04-23 10:59:07 +10:00
..
check_err_str.py esp32: Consolidate check_esp_err functions and add IDF error string. 2020-04-23 10:59:07 +10:00
check_err_str.py.exp esp32: Consolidate check_esp_err functions and add IDF error string. 2020-04-23 10:59:07 +10:00
esp32_idf_heap_info.py esp32/modesp32: Add idf_heap_info(capabilities) to esp32 module. 2020-04-23 00:02:11 +10:00
esp32_idf_heap_info.py.exp esp32/modesp32: Add idf_heap_info(capabilities) to esp32 module. 2020-04-23 00:02:11 +10:00