1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 
5 #include <stdio.h>
6 #include <unistd.h>
7 #include <stdbool.h>
8 #include <sys/ioctl.h>
9 #include "aos_hal_lcd.h"
10 
aos_hal_lcd_init(void)11 int32_t aos_hal_lcd_init(void)
12 {
13     printf("aos_hal_lcd_init done\n");
14     return 0;
15 }
16 
aos_hal_lcd_uninit(void)17 int32_t aos_hal_lcd_uninit(void)
18 {
19     printf("aos_hal_lcd_uninit done\n");
20     return 0;
21 }
22 
aos_hal_lcd_show(int x,int y,int w,int h,uint8_t * buf,bool rotate)23 int32_t aos_hal_lcd_show(int x, int y, int w, int h, uint8_t *buf, bool rotate)
24 {
25     printf("aos_hal_lcd_show x: %d, y: %d, w: %d, h: %d, rotate: %d\n", x, y, w, h, rotate);
26     for (int i; i < w * h * 2; i++)
27         printf("buf: 0x%x", buf[i]);
28 
29     return 0;
30 }
31 
aos_hal_lcd_fill(int x,int y,int w,int h,uint32_t color)32 int32_t aos_hal_lcd_fill(int x, int y, int w, int h, uint32_t color)
33 {
34     printf("aos_hal_lcd_fill x: %d, y: %d, w: %d, h: %d, color: 0x%x\n", x, y, w, h, color);
35     return 0;
36 }
37