Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/esp32/check_err_str.py.exp

5 lines
68 B
Plaintext
Raw Normal View History

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-03-31 16:03:01 -07:00
[Errno 2] ENOENT
(-5379, 'ESP_ERR_OTA_VALIDATE_FAILED')
exc:
-5379
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 74ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API