Compression Error Codes#

Bootloader error codes returned by the decompressor.

Offset from BOOTLOADER_ERROR_COMPRESSION_BASE

Macros#

#define
BOOTLOADER_ERROR_COMPRESSION_INIT (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x01)

Could not initialize decompressor.

#define
BOOTLOADER_ERROR_COMPRESSION_STATE (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x02)

Invalid decompressor state – possible invalid input.

#define
BOOTLOADER_ERROR_COMPRESSION_DATA (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x03)

Data error.

#define
BOOTLOADER_ERROR_COMPRESSION_DATALEN (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x04)

Data length error.

#define
BOOTLOADER_ERROR_COMPRESSION_MEM (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x05)

Memory error.

Macro Definition Documentation#

BOOTLOADER_ERROR_COMPRESSION_INIT#

#define BOOTLOADER_ERROR_COMPRESSION_INIT
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x01)

Could not initialize decompressor.


Definition at line 360 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_COMPRESSION_STATE#

#define BOOTLOADER_ERROR_COMPRESSION_STATE
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x02)

Invalid decompressor state – possible invalid input.


Definition at line 363 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_COMPRESSION_DATA#

#define BOOTLOADER_ERROR_COMPRESSION_DATA
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x03)

Data error.


Definition at line 366 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_COMPRESSION_DATALEN#

#define BOOTLOADER_ERROR_COMPRESSION_DATALEN
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x04)

Data length error.


Definition at line 369 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_COMPRESSION_MEM#

#define BOOTLOADER_ERROR_COMPRESSION_MEM
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x05)

Memory error.


Definition at line 372 of file platform/bootloader/api/btl_errorcode.h