feat(err_defs): Add ROM bootloader flash error definitions

Closes https://github.com/espressif/esptool/issues/952
This commit is contained in:
radim.karnis
2024-01-30 10:38:56 +01:00
committed by Radim Karniš
parent bc9f2a656d
commit 2d8a3addc9

View File

@@ -142,6 +142,12 @@ class FatalError(RuntimeError):
0x109: "CRC or checksum was invalid",
0x10A: "Version was invalid",
0x10B: "MAC address was invalid",
0x6001: "Flash operation failed",
0x6002: "Flash operation timed out",
0x6003: "Flash not initialised properly",
0x6004: "Operation not supported by the host SPI bus",
0x6005: "Operation not supported by the flash chip",
0x6006: "Can't write, protection enabled",
# Flasher stub error codes
0xC000: "Bad data length",
0xC100: "Bad data checksum",