summaryrefslogtreecommitdiffstatshomepage
path: root/tests/esp32/check_err_str.py
Commit message (Collapse)AuthorAge
* tests: Move port-specific test directories into tests/ports/ directory.Damien George2024-01-22
| | | | | | To keep them all together, mirroring the top-level directory structure. Signed-off-by: Damien George <damien@micropython.org>
* esp32: Consolidate check_esp_err functions and add IDF error string.Thorsten von Eicken2020-04-23
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.