OsalFwBlock

Overview

Related Modules:

OSAL

Description:

Defines the data structure for reading a firmware file.

This structure declares the firmware block to read each time. The firmware file can be read in split mode.

Summary

Data Fields

Variable Name

Description

data

uint8_t * 

endFlag

bool 

dataSize

uint32_t 

curOffset

int32_t 

Details

Field Documentation

curOffset

  1. int32_t OsalFwBlock::curOffset

Description:

Offset in the firmware file

data

  1. uint8_t* OsalFwBlock::data

Description:

Firmware content read this time. You do not need to allocate space.

dataSize

  1. uint32_t OsalFwBlock::dataSize

Description:

Firmware block size read this time

endFlag

  1. bool OsalFwBlock::endFlag

Description:

Whether the firmware file is read completely