add lvgl for xiuos

This commit is contained in:
Wang_Weigen
2022-01-11 17:11:17 +08:00
parent 37c247f4d7
commit c6458f1f1d
8 changed files with 65 additions and 35 deletions
@@ -154,7 +154,7 @@ typedef struct
uint16 y_pos;
uint16 width;
uint16 height;
uint8 font_size;
uint8 font_size;
uint8 *addr;
uint16 font_color;
uint16 back_color;
@@ -162,18 +162,24 @@ typedef struct
typedef struct
{
uint16 x_pos;
uint16 y_pos;
uint16 pixel_color;
uint16 x_startpos;
uint16 x_endpos;
uint16 y_startpos;
uint16 y_endpos;
void* pixel_color;
}LcdPixelParam;
typedef struct
{
char type; // 0:write string;1:write dot
LcdPixelParam pixel_info;
LcdStringParam string_info;
LcdPixelParam pixel_info;
}LcdWriteParam;
#define PRIV_SYSTICK_GET (CurrentTicksGain())
#define PRIV_LCD_DEV "/dev/lcd_dev"
#define MY_DISP_HOR_RES BSP_LCD_Y_MAX
#define MY_DISP_VER_RES BSP_LCD_X_MAX
/**********************mutex**************************/
int PrivMutexCreate(pthread_mutex_t *p_mutex, const pthread_mutexattr_t *attr);