blob: 6a4b8d36ee4c08c4df2a1275512cb281f7d4faee [file] [log] [blame]
/*
* logo_partition.h
*
* Logo partition header.
*
* Author : lb
* Date : 2025/2/20 14:45:19
*/
#ifndef _LOGO_PARTITION_H
#define _LOGO_PARTITION_H
typedef unsigned int uint32; /* Unsigned 32 bit value */
typedef unsigned short uint16; /* Unsigned 16 bit value */
typedef unsigned char uint8; /* Unsigned 8 bit value */
typedef signed int int32; /* Signed 32 bit value */
typedef signed short int16; /* Signed 16 bit value */
typedef signed char int8; /* Signed 8 bit value */
#define LOGO_PARTITION_ADDR 0x0A3A0000 // custom_logo 分区的地址
#define LOGO_ADDR_START 0x00000400 // 1K
#define ANIMATION_ADDR_START 0x00080400 // log 不超过 512K
typedef struct {
uint32 addr;
uint32 pic_width;
uint32 pic_height;
uint32 bg_rgb; // 背景色
} mbtk_logo_header_t;
typedef struct {
uint32 addr;
uint32 pic_num;
uint32 pic_width;
uint32 pic_height;
uint32 frame_rate;
uint32 bg_rgb; // 背景色
} mbtk_animation_header_t;
#endif /* _LOGO_PARTITION_H */