Macros
Defines
SYSTEM » Device Firmware Update

## Macros
#define | DFU_MAX_HEADER_LEN 20
#define | DFU_MAX_BUFFER_LEN 8192
#define | DFU_FW_COPY_PATTERN 0x434f5059
#define | DFU_INFO_ADDR 0x0027E000
#define | DFU_FRAME_RECEIVE_MAX_LENGTH 2048
#define | DFU_IMG_INFO_PATTERN 0x4744

## Detailed Description

## Macro Definition Documentation

## ◆ DFU_FRAME_RECEIVE_MAX_LENGTH

#define DFU_FRAME_RECEIVE_MAX_LENGTH 2048

The max length of received data is 2048 bytes.

Definition at line 63 of file gr5405_dfu.h.

## ◆ DFU_FW_COPY_PATTERN

#define DFU_FW_COPY_PATTERN 0x434f5059

The pattern of dfu copy.

Definition at line 60 of file gr5405_dfu.h.

## ◆ DFU_IMG_INFO_PATTERN

#define DFU_IMG_INFO_PATTERN 0x4744

The pattern of image info.

Definition at line 64 of file gr5405_dfu.h.

## ◆ DFU_INFO_ADDR

#define DFU_INFO_ADDR 0x0027E000

The address of DFU information.

Definition at line 61 of file gr5405_dfu.h.

## ◆ DFU_MAX_BUFFER_LEN

#define DFU_MAX_BUFFER_LEN 8192

The max length of received data is 8192 bytes.

Definition at line 59 of file gr5405_dfu.h.

## ◆ DFU_MAX_HEADER_LEN

#define DFU_MAX_HEADER_LEN 20

The max length of DFU header data is 20 bytes.

Definition at line 58 of file gr5405_dfu.h.