code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
#include "../lv_demo_music.h" #if LV_USE_DEMO_MUSIC && LV_DEMO_MUSIC_LARGE #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATTRIBUTE_MEM_ALIGN #endif #ifndef LV_ATTRIBUTE_IMG_IMG_LV_DEMO_MUSIC_ICN_HEART #define LV_ATTRIBUTE_IMG_IMG_LV_DEMO_MUSIC_ICN_HEART #endif const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_A...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/assets/img_lv_demo_music_icon_4_large.c
C
apache-2.0
70,664
#include "../lv_demo_music.h" #if LV_USE_DEMO_MUSIC #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATTRIBUTE_MEM_ALIGN #endif const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_logo_map[] = { #if LV_COLOR_DEPTH == 1 || LV_COLOR_DEPTH == 8 /*Pixel format: Red: 3 bit, Green: 3 bit, Blue: 2 bit*/ 0xff, 0xff, 0xff, 0x...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/assets/img_lv_demo_music_logo.c
C
apache-2.0
510,178
#include "../lv_demo_music.h" #if LV_USE_DEMO_MUSIC && !LV_DEMO_MUSIC_LARGE #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATTRIBUTE_MEM_ALIGN #endif const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_slider_knob_map[] = { #if LV_COLOR_DEPTH == 1 || LV_COLOR_DEPTH == 8 /*Pixel format: Alpha 8 bit, Red: 3 bit, Green...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/assets/img_lv_demo_music_slider_knob.c
C
apache-2.0
99,912
#include "../lv_demo_music.h" #if LV_USE_DEMO_MUSIC && LV_DEMO_MUSIC_LARGE #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATTRIBUTE_MEM_ALIGN #endif #ifndef LV_ATTRIBUTE_IMG_IMG_LV_DEMO_MUSIC_ICN_SLIDER #define LV_ATTRIBUTE_IMG_IMG_LV_DEMO_MUSIC_ICN_SLIDER #endif const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/assets/img_lv_demo_music_slider_knob_large.c
C
apache-2.0
315,626
import numpy as np import librosa import math import sys print("Loading file") audio, sample_rate = librosa.load(sys.argv[1], duration=60, offset=0, sr=15360) print("Getting spectrum") spectrum = librosa.stft(audio) S = np.abs(spectrum) fout = open("spectrum.h", "w") print("Writing file") fn = 36 fs = int(len(S) / ...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/assets/spectrum.py
Python
apache-2.0
692
const uint16_t spectrum_1[][4] = { { 0, 0, 0, 0, }, { 0, 9, 7, 8, }, { 5, 39, 24, 29, }, { 14, 44, 34, 45, }, { 16, 25, 32, 48, }, { 16, 18, 29, 44, }, { 15, 20, 26, 40, }, { 15, 19, 24, 37, }, { 14, 19, 27, 42, }, { 13, 17, 29, 39, }, { 12, 17, 24, 31, }, { 11, 17, 24, 29, }, { 9, 19, 22, 26, }, { 6, 19, 27, 35, }, { ...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/assets/spectrum_1.h
C
apache-2.0
8,880
const uint16_t spectrum_2[][4] = { { 0, 0, 0, 0, }, { 0, 8, 28, 14, }, { 1, 35, 63, 31, }, { 5, 62, 56, 35, }, { 13, 49, 42, 30, }, { 21, 24, 45, 31, }, { 22, 15, 46, 37, }, { 20, 9, 48, 35, }, { 17, 12, 50, 33, }, { 6, 11, 49, 35, }, { 0, 10, 50, 40, }, { 0, 11, 50, 37, }, { 0, 14, 51, 37, }, { 0, 18, 47, 33, }, { 0, ...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/assets/spectrum_2.h
C
apache-2.0
15,775
const uint16_t spectrum_3[][4] = { { 0, 0, 0, 0, }, { 0, 0, 0, 0, }, { 0, 0, 0, 0, }, { 0, 1, 1, 0, }, { 0, 1, 1, 0, }, { 0, 1, 1, 0, }, { 0, 2, 2, 0, }, { 0, 2, 2, 0, }, { 0, 2, 3, 0, }, { 0, 3, 3, 0, }, { 0, 3, 3, 0, }, { 0, 4, 3, 0, }, { 0, 4, 4, 0, }, { 0, 4, 5, 0, }, { 0, 4, 5, 0, }, { 1, 4, 6, 0, }, { 1, 4, 6, 1,...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/assets/spectrum_3.h
C
apache-2.0
19,152
/** * @file lv_demo_music.c * */ /********************* * INCLUDES *********************/ #include "lv_demo_music.h" #if LV_USE_DEMO_MUSIC #include "lv_demo_music_main.h" #include "lv_demo_music_list.h" /********************* * DEFINES *********************/ /********************** * TYPEDEF...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/lv_demo_music.c
C
apache-2.0
6,062
/** * @file lv_demo_music.h * */ #ifndef LV_DEMO_MUSIC_H #define LV_DEMO_MUSIC_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../../lv_demo.h" #if LV_USE_DEMO_MUSIC /********************* * DEFINES *********************/ #if LV_DEMO_MUS...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/lv_demo_music.h
C
apache-2.0
992
/** * @file lv_demo_music_list.c * */ /********************* * INCLUDES *********************/ #include "lv_demo_music_list.h" #if LV_USE_DEMO_MUSIC #include "lv_demo_music_main.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS ********************...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/lv_demo_music_list.c
C
apache-2.0
7,037
/** * @file lv_demo_music_list.h * */ #ifndef LV_DEMO_MUSIC_LIST_H #define LV_DEMO_MUSIC_LIST_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_demo_music.h" #if LV_USE_DEMO_MUSIC /********************* * DEFINES *********************/ /...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/lv_demo_music_list.h
C
apache-2.0
755
/** * @file lv_demo_music_main.c * */ /********************* * INCLUDES *********************/ #include "lv_demo_music_main.h" #if LV_USE_DEMO_MUSIC #include "lv_demo_music_list.h" #include "assets/spectrum_1.h" #include "assets/spectrum_2.h" #include "assets/spectrum_3.h" /********************* * DE...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/lv_demo_music_main.c
C
apache-2.0
34,694
/** * @file lv_demo_music_main.h * */ #ifndef LV_DEMO_MUSIC_MAIN_H #define LV_DEMO_MUSIC_MAIN_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_demo_music.h" #if LV_USE_DEMO_MUSIC /********************* * DEFINES *********************/ /...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_music/lv_demo_music_main.h
C
apache-2.0
837
#include "../../lv_demo.h" /******************************************************************************* * Size: 12 px * Bpp: 4 * Opts: ******************************************************************************/ #ifndef LV_FONT_MONTSERRAT_12_COMPR_AZ #define LV_FONT_MONTSERRAT_12_COMPR_AZ 1 #endif #if LV...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_stress/assets/lv_font_montserrat_12_compr_az.c
C
apache-2.0
10,830
#include "../../lv_demo.h" /******************************************************************************* * Size: 16 px * Bpp: 4 * Opts: ******************************************************************************/ #ifndef LV_FONT_MONTSERRAT_16_COMPR_AZ #define LV_FONT_MONTSERRAT_16_COMPR_AZ 1 #endif #if LV...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_stress/assets/lv_font_montserrat_16_compr_az.c
C
apache-2.0
12,786
#include "../../lv_demo.h" /******************************************************************************* * Size: 28 px * Bpp: 4 * Opts: ******************************************************************************/ #ifndef LV_FONT_MONTSERRAT_28_COMPR_AZ #define LV_FONT_MONTSERRAT_28_COMPR_AZ 1 #endif #if LV...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_stress/assets/lv_font_montserrat_28_compr_az.c
C
apache-2.0
20,318
/** * @file lv_demo_stress.c * */ /********************* * INCLUDES *********************/ #include "../lv_demo.h" #include "esp_log.h" #define TAG "stress" #if LV_USE_DEMO_STRESS /********************* * DEFINES *********************/ #define TIME_STEP 50 /********************** * TYPEDEFS ...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_stress/lv_demo_stress.c
C
apache-2.0
16,462
/** * @file lv_demo_stress.h * */ #ifndef LV_DEMO_STRESS_H #define LV_DEMO_STRESS_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ /********************* * DEFINES *********************/ /********************** * TYPEDEFS ********************...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_stress/lv_demo_stress.h
C
apache-2.0
562
#include "../../lv_demo.h" #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATTRIBUTE_MEM_ALIGN #endif #ifndef LV_ATTRIBUTE_IMG_IMG_CLOTHES #define LV_ATTRIBUTE_IMG_IMG_CLOTHES #endif const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_IMG_CLOTHES uint8_t img_clothes_map[] = { #if LV_COLOR_DEPTH == 1 || ...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_widgets/assets/img_clothes.c
C
apache-2.0
227,505
#include "../../lv_demo.h" #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATTRIBUTE_MEM_ALIGN #endif #ifndef LV_ATTRIBUTE_IMG_IMG_LVGL_LOGO #define LV_ATTRIBUTE_IMG_IMG_LVGL_LOGO #endif const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_IMG_LVGL_LOGO uint8_t img_lvgl_logo_map[] = { #if LV_COLOR_DEPTH ...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_widgets/assets/img_lvgl_logo.c
C
apache-2.0
131,601
/** * @file lv_demo_widgets.c * */ /********************* * INCLUDES *********************/ #include "../../lv_demo.h" #if LV_USE_DEMO_WIDGETS /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ typedef enum { DISP_SMALL, ...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_widgets/lv_demo_widgets.c
C
apache-2.0
69,951
/** * @file lv_demo_widgets.h * */ #ifndef LV_DEMO_WIDGETS_H #define LV_DEMO_WIDGETS_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ /********************* * DEFINES *********************/ /********************** * TYPEDEFS *****************...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_widgets/lv_demo_widgets.h
C
apache-2.0
567
#!/opt/bin/lv_micropython import lvgl as lv import time import SDL lv.init() LV_DEMO_WIDGETS_SLIDESHOW = 0 LV_THEME_DEFAULT_COLOR_PRIMARY=lv.color_hex(0x01a2b1) LV_THEME_DEFAULT_COLOR_SECONDARY=lv.color_hex(0x44d1b6) LV_LED_BRIGHT_MIN = 120 LV_LED_BRIGHT_MAX = 255 SDL.init(w=480,h=320) LV_DPI =130 LV_ANIM_REPEAT_IN...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_demos/src/lv_demo_widgets/lv_demo_widgets.py
Python
apache-2.0
20,880
/** * @file lv_ex_conf.h * Configuration file for v7.4.0 * */ /* * COPY THIS FILE AS lv_ex_conf.h */ #if 1 /*Set it to "1" to enable the content*/ #ifndef LV_EX_CONF_H #define LV_EX_CONF_H /******************* * GENERAL SETTING *******************/ /* Enable printf-ing data in demoes and examples */ #ifdef...
YifuLiu/AliOS-Things
components/little_ui/example/demo/lv_ex_conf.h
C
apache-2.0
1,636
/* LVGL Example project * * Basic project to test LVGL on ESP32 based projects. * * This example code is in the Public Domain (or CC0 licensed, at your option.) * * Unless required by applicable law or agreed to in writing, this * software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS O...
YifuLiu/AliOS-Things
components/little_ui/example/example.c
C
apache-2.0
6,098
#lvgl python test case import lvgl as lv lv.init() import display display.init() draw_buf = lv.disp_draw_buf_t() buf1_1 = bytearray(51200) buf1_2 = bytearray(51200) draw_buf.init(buf1_1, buf1_2, 25600) disp_drv = lv.disp_drv_t() disp_drv.init() disp_drv.draw_buf = draw_buf disp_drv.flush_cb = display.flush disp_drv.ho...
YifuLiu/AliOS-Things
components/little_ui/example/lvgl_pytest.py
Python
apache-2.0
671
/** * @file lv_conf.h * Configuration file for v8.1.0-release */ /* * Copy this file as `lv_conf.h` * 1. simply next to the `lvgl` folder * 2. or any other places and * - define `LV_CONF_INCLUDE_SIMPLE` * - add the path as include path */ /* clang-format off */ #if 1 /*Set it to "1" to enable content*/...
YifuLiu/AliOS-Things
components/little_ui/lv_conf.h
C
apache-2.0
18,768
#ifndef __LV_MP_MEM_CUSTOM_INCLUDE_H #define __LV_MP_MEM_CUSTOM_INCLUDE_H #include <py/mpconfig.h> #include <py/misc.h> #include <py/gc.h> #endif //__LV_MP_MEM_CUSTOM_INCLUDE_H
YifuLiu/AliOS-Things
components/little_ui/lv_mp_mem_custom_include.h
C
apache-2.0
179
#if AOS_COMP_CLI #include "aos/cli.h" #endif #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <aos/errno.h> #include <aos/kernel.h> #include <aos/vfs.h> #include "aos/init.h" #include "board.h" #include <k_api.h> #define LFS_MNT_PATH "/data" #define TEST_FILE LFS_MNT_PATH"/demo" #define TEST_CONTEN...
YifuLiu/AliOS-Things
components/littlefs/example/littlefs_example.c
C
apache-2.0
2,407
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef FS_LITTLEFS_H #define FS_LITTLEFS_H #ifdef __cplusplus extern "C" { #endif struct littlefs_cfg_param { /** * @brief Minimum size of a block read. All read operations will be a * multiple of this value. */ unsigned i...
YifuLiu/AliOS-Things
components/littlefs/include/littlefs.h
C
apache-2.0
3,856
#ifndef _LFS_CONF_H_ #define _LFS_CONF_H_ #ifndef CONFIG_LITTLEFS_CNT #define CONFIG_LITTLEFS_CNT 1 #endif #ifndef CONFIG_LFS_PROG_SIZE #define CONFIG_LFS_PROG_SIZE 256 #endif #ifndef CONFIG_LFS_PAGE_NUM_PER_BLOCK #define CONFIG_LFS_PAGE_NUM_PER_BLOCK 16 #endif #ifndef CONFIG_LFS_BLOCK_NUMS #define CONFIG_LFS_BLOCK...
YifuLiu/AliOS-Things
components/littlefs/internal/lfs_conf.h
C
apache-2.0
1,347
/* * The little filesystem * * Copyright (c) 2017, Arm Limited. All rights reserved. * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LFS_H #define LFS_H #include <stdint.h> #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif /// Version info /// // Software library version // Major (top-nibble), in...
YifuLiu/AliOS-Things
components/littlefs/src/littlefs-v220/include/lfs.h
C
apache-2.0
22,765
/* * lfs utility functions * * Copyright (c) 2017, Arm Limited. All rights reserved. * SPDX-License-Identifier: BSD-3-Clause */ #ifndef LFS_UTIL_H #define LFS_UTIL_H // Users can override lfs_util.h with their own configuration by defining // LFS_CONFIG as a header file to include (-DLFS_CONFIG=lfs_config.h). // ...
YifuLiu/AliOS-Things
components/littlefs/src/littlefs-v220/include/lfs_util.h
C
apache-2.0
7,672
/* * The little filesystem * * Copyright (c) 2017, Arm Limited. All rights reserved. * SPDX-License-Identifier: BSD-3-Clause */ #include "lfs.h" #include "lfs_util.h" #define LFS_BLOCK_NULL ((lfs_block_t)-1) #define LFS_BLOCK_INLINE ((lfs_block_t)-2) #ifdef NFTL_GC_NOTIFY static int lfs_ctz_traverse2(lfs_t *lfs,...
YifuLiu/AliOS-Things
components/littlefs/src/littlefs-v220/lfs.c
C
apache-2.0
162,669
/* * lfs util functions * * Copyright (c) 2017, Arm Limited. All rights reserved. * SPDX-License-Identifier: BSD-3-Clause */ #include "lfs_util.h" // Only compile if user does not provide custom config #ifndef LFS_CONFIG // Software CRC implementation with small lookup table uint32_t lfs_crc(uint32_t crc, const...
YifuLiu/AliOS-Things
components/littlefs/src/littlefs-v220/lfs_util.c
C
apache-2.0
862
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <pthread.h> #include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <unistd.h> #include <k_api.h> #include <sys/types.h> #include <fcntl.h> #include "lfs.h" #include ...
YifuLiu/AliOS-Things
components/littlefs/src/littlefs_vfs.c
C
apache-2.0
42,991
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <pthread.h> #include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <unistd.h> #include <sys/types.h> #include <fcntl.h> #include <sys/statfs.h> #include "lfs.h" #incl...
YifuLiu/AliOS-Things
components/littlefs/src/littlefs_vfs_esp32.c
C
apache-2.0
28,465
/** * @file lv_conf.h * */ /* * COPY THIS FILE AS `lv_conf.h` NEXT TO the `lvgl` FOLDER */ #if 1 /*Set it to "1" to enable content*/ #ifndef LV_CONF_H #define LV_CONF_H /* clang-format off */ #include <stdint.h> /*==================== Graphical settings *====================*/ /* Maximal horizontal and v...
YifuLiu/AliOS-Things
components/littlevgl/lv_conf.h
C
apache-2.0
15,478
/** * @file lv_conf.h * */ /* * COPY THIS FILE AS `lv_conf.h` NEXT TO the `lvgl` FOLDER */ #if 0 /*Set it to "1" to enable content*/ #ifndef LV_CONF_H #define LV_CONF_H /* clang-format off */ #include <stdint.h> /*==================== Graphical settings *====================*/ /* Maximal horizontal and v...
YifuLiu/AliOS-Things
components/littlevgl/lv_conf_template.h
C
apache-2.0
15,488
/** * @file lvgl.h * Include all LittleV GL related headers */ #ifndef LVGL_H #define LVGL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "src/lv_version.h" #include "src/lv_misc/lv_log.h" #include "src/lv_misc/lv_task.h" #include "src/lv_misc/l...
YifuLiu/AliOS-Things
components/littlevgl/lvgl.h
C
apache-2.0
2,070
include $(LVGL_DIR)/lvgl/src/lv_core/lv_core.mk include $(LVGL_DIR)/lvgl/src/lv_hal/lv_hal.mk include $(LVGL_DIR)/lvgl/src/lv_objx/lv_objx.mk include $(LVGL_DIR)/lvgl/src/lv_font/lv_font.mk include $(LVGL_DIR)/lvgl/src/lv_misc/lv_misc.mk include $(LVGL_DIR)/lvgl/src/lv_themes/lv_themes.mk include $(LVGL_DIR)/lvgl/src/l...
YifuLiu/AliOS-Things
components/littlevgl/lvgl.mk
Makefile
apache-2.0
339
/** * @file lv_port_disp_templ.c * */ /*Copy this file as "lv_port_disp.c" and set this value to "1" to enable content*/ #if 0 /********************* * INCLUDES *********************/ #include "lv_port_disp_templ.h" /********************* * DEFINES *********************/ /********************** *...
YifuLiu/AliOS-Things
components/littlevgl/porting/lv_port_disp_template.c
C
apache-2.0
6,630
/** * @file lv_port_disp_templ.h * */ /*Copy this file as "lv_port_disp.h" and set this value to "1" to enable content*/ #if 0 #ifndef LV_PORT_DISP_TEMPL_H #define LV_PORT_DISP_TEMPL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lvgl/lvgl.h" ...
YifuLiu/AliOS-Things
components/littlevgl/porting/lv_port_disp_template.h
C
apache-2.0
701
/** * @file lv_port_fs_templ.c * */ /*Copy this file as "lv_port_fs.c" and set this value to "1" to enable content*/ #if 0 /********************* * INCLUDES *********************/ #include "lv_port_fs_templ.h" /********************* * DEFINES *********************/ /********************** * ...
YifuLiu/AliOS-Things
components/littlevgl/porting/lv_port_fs_template.c
C
apache-2.0
10,960
/** * @file lv_port_fs_templ.h * */ /*Copy this file as "lv_port_fs.h" and set this value to "1" to enable content*/ #if 0 #ifndef LV_PORT_FS_TEMPL_H #define LV_PORT_FS_TEMPL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lvgl/lvgl.h" /*******...
YifuLiu/AliOS-Things
components/littlevgl/porting/lv_port_fs_template.h
C
apache-2.0
691
/** * @file lv_port_indev_templ.c * */ /*Copy this file as "lv_port_indev.c" and set this value to "1" to enable content*/ #if 0 /********************* * INCLUDES *********************/ #include "lv_port_indev_templ.h" /********************* * DEFINES *********************/ /**********************...
YifuLiu/AliOS-Things
components/littlevgl/porting/lv_port_indev_template.c
C
apache-2.0
10,676
/** * @file lv_port_indev_templ.h * */ /*Copy this file as "lv_port_indev.h" and set this value to "1" to enable content*/ #if 0 #ifndef LV_PORT_INDEV_TEMPL_H #define LV_PORT_INDEV_TEMPL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lvgl/lvgl...
YifuLiu/AliOS-Things
components/littlevgl/porting/lv_port_indev_template.h
C
apache-2.0
707
import argparse from argparse import RawTextHelpFormatter import os import sys parser = argparse.ArgumentParser(description="""Create fonts for LittelvGL including the built-in symbols. lv_font_conv needs to be installed. See https://github.com/littlevgl/lv_font_conv Example: python built_in_font_gen.py --size 16 -o l...
YifuLiu/AliOS-Things
components/littlevgl/scripts/built_in_font/built_in_font_gen.py
Python
apache-2.0
1,956
clang-format-7 -style=file ../src/lv_core/*.c -i clang-format-7 -style=file ../src/lv_draw/*.c -i clang-format-7 -style=file ../src/lv_hal/*.c -i clang-format-7 -style=file ../src/lv_misc/*.c -i clang-format-7 -style=file ../src/lv_objx/*.c -i clang-format-7 -style=file ../src/lv_themes/*.c -i clang-format-7 -style=fi...
YifuLiu/AliOS-Things
components/littlevgl/scripts/clang-formatter.sh
Shell
apache-2.0
591
cppcheck --template="{severity}\t{file}:{line}\t{id}: {message}" --enable=all ../src/ --output-file=cppcheck_res.txt --suppress=unusedFunction --suppress=preprocessorErrorDirective --force
YifuLiu/AliOS-Things
components/littlevgl/scripts/cppcheck_run.sh
Shell
apache-2.0
194
CSRCS += lv_group.c CSRCS += lv_indev.c CSRCS += lv_disp.c CSRCS += lv_obj.c CSRCS += lv_refr.c CSRCS += lv_style.c DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_core VPATH += :$(LVGL_DIR)/lvgl/src/lv_core CFLAGS += "-I$(LVGL_DIR)/lvgl/src/lv_core"
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_core.mk
Makefile
apache-2.0
251
/** * @file lv_disp.c * */ /********************* * INCLUDES *********************/ #include "lv_disp.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STATIC PROTO...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_disp.c
C
apache-2.0
4,470
/** * @file lv_disp.h * */ #ifndef LV_DISP_H #define LV_DISP_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "../lv_hal/lv_hal.h" #include "lv_obj.h" /********************* * DEFINES *********************/ /********************** * T...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_disp.h
C
apache-2.0
3,930
/** * @file lv_group.c * */ /********************* * INCLUDES *********************/ #include "lv_group.h" #if LV_USE_GROUP != 0 #include "../lv_themes/lv_theme.h" #include <stddef.h> #include "../lv_misc/lv_gc.h" #if defined(LV_GC_INCLUDE) #include LV_GC_INCLUDE #endif /* LV_ENABLE_GC */ /****************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_group.c
C
apache-2.0
20,281
/** * @file lv_group.h * */ #ifndef LV_GROUP_H #define LV_GROUP_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #include "lv_obj.h" /********************* * D...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_group.h
C
apache-2.0
8,873
/** * @file lv_indev.c * */ /********************* * INCLUDES ********************/ #include "lv_indev.h" #include "lv_disp.h" #include "lv_obj.h" #include "../lv_hal/lv_hal_tick.h" #include "../lv_core/lv_group.h" #include "../lv_core/lv_refr.h" #include "../lv_misc/lv_task.h" #include "../lv_misc/lv_math....
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_indev.c
C
apache-2.0
47,051
/** * @file lv_indev.h * */ #ifndef LV_INDEV_H #define LV_INDEV_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_obj.h" #include "../lv_hal/lv_hal_indev.h" #include "../lv_core/lv_group.h" /********************* * DEFINES ***************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_indev.h
C
apache-2.0
4,332
/** * @file lv_base_obj.c * */ /********************* * INCLUDES *********************/ #include "lv_obj.h" #include "lv_indev.h" #include "lv_refr.h" #include "lv_group.h" #include "lv_disp.h" #include "../lv_themes/lv_theme.h" #include "../lv_draw/lv_draw.h" #include "../lv_misc/lv_anim.h" #include "../lv_...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_obj.c
C
apache-2.0
65,788
/** * @file lv_obj.h * */ #ifndef LV_OBJ_H #define LV_OBJ_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #include <stddef.h> #include <stdbool.h> #include "lv_style...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_obj.h
C
apache-2.0
31,060
/** * @file lv_refr.c * */ /********************* * INCLUDES *********************/ #include <stddef.h> #include "lv_refr.h" #include "lv_disp.h" #include "../lv_hal/lv_hal_tick.h" #include "../lv_hal/lv_hal_disp.h" #include "../lv_misc/lv_task.h" #include "../lv_misc/lv_mem.h" #include "../lv_misc/lv_gc.h" ...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_refr.c
C
apache-2.0
18,887
/** * @file lv_refr.h * */ #ifndef LV_REFR_H #define LV_REFR_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_obj.h" #include <stdbool.h> /********************* * DEFINES *********************/ /********************** * TYPEDEFS ...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_refr.h
C
apache-2.0
2,175
/** * @file lv_style.c * */ /********************* * INCLUDES *********************/ #include "lv_obj.h" #include "../lv_misc/lv_mem.h" #include "../lv_misc/lv_anim.h" /********************* * DEFINES *********************/ #define STYLE_MIX_MAX 256 #define STYLE_MIX_SHIFT 8 /*log2(STYLE_MIX_MAX)*/ ...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_style.c
C
apache-2.0
13,926
/** * @file lv_style.h * */ #ifndef LV_STYLE_H #define LV_STYLE_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include <stdbool.h> #include "../lv_font/lv_font.h" #include "../lv_misc/lv_color.h" #include "../lv_misc/lv_area.h" #include "../lv_misc/lv_ani...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_core/lv_style.h
C
apache-2.0
7,733
/** * @file lv_draw.c * */ /********************* * INCLUDES *********************/ #include <stdio.h> #include <stdbool.h> #include "lv_draw.h" #include "../lv_misc/lv_math.h" #include "../lv_misc/lv_log.h" #include "../lv_misc/lv_math.h" #include "../lv_misc/lv_mem.h" #include "../lv_misc/lv_gc.h" #if de...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw.c
C
apache-2.0
5,555
/** * @file lv_draw.h * */ #ifndef LV_DRAW_H #define LV_DRAW_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #include "../lv_core/lv_style.h" #include "../lv_misc/lv...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw.h
C
apache-2.0
2,627
CSRCS += lv_draw_basic.c CSRCS += lv_draw.c CSRCS += lv_draw_rect.c CSRCS += lv_draw_label.c CSRCS += lv_draw_line.c CSRCS += lv_draw_img.c CSRCS += lv_draw_arc.c CSRCS += lv_draw_triangle.c CSRCS += lv_img_decoder.c CSRCS += lv_img_cache.c DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_draw VPATH += :$(LVGL_DIR)/lvgl/...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw.mk
Makefile
apache-2.0
375
/** * @file lv_draw_arc.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_arc.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /********************** * STAT...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_arc.c
C
apache-2.0
9,434
/** * @file lv_draw_arc.h * */ #ifndef LV_DRAW_ARC_H #define LV_DRAW_ARC_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_draw.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS ********...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_arc.h
C
apache-2.0
1,317
/** * @file lv_draw_basic.c * */ #include "lv_draw_basic.h" #include <stdbool.h> #include <stdint.h> #include <string.h> #include "../lv_core/lv_refr.h" #include "../lv_hal/lv_hal.h" #include "../lv_font/lv_font.h" #include "../lv_misc/lv_area.h" #include "../lv_misc/lv_color.h" #include "../lv_misc/lv_log.h" #i...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_basic.c
C
apache-2.0
26,645
/** * @file lv_draw_basic.h * */ #ifndef LV_DRAW_BASIC_H #define LV_DRAW_BASIC_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #include "../lv_font/lv_font.h" #inclu...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_basic.h
C
apache-2.0
2,327
/** * @file lv_draw_img.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_img.h" #include "lv_img_cache.h" #include "../lv_misc/lv_log.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /******...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_img.c
C
apache-2.0
20,305
/** * @file lv_draw_img.h * */ #ifndef LV_DRAW_IMG_H #define LV_DRAW_IMG_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_draw.h" #include "lv_img_decoder.h" /********************* * DEFINES *********************/ /*********************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_img.h
C
apache-2.0
4,018
/** * @file lv_draw_label.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_label.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ #define LABEL_RECOLOR_PAR_LENGTH 6 #define LV_LABEL_HINT_UPDATE_TH 1024 /*Update the "hint" if t...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_label.c
C
apache-2.0
9,836
/** * @file lv_draw_label.h * */ #ifndef LV_DRAW_LABEL_H #define LV_DRAW_LABEL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_draw.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_label.h
C
apache-2.0
2,132
/** * @file lv_draw_line.c * */ /********************* * INCLUDES *********************/ #include <stdio.h> #include <stdbool.h> #include "lv_draw.h" #include "../lv_core/lv_refr.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ /********************** * ...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_line.c
C
apache-2.0
24,384
/** * @file lv_draw_line.h * */ #ifndef LV_DRAW_LINE_H #define LV_DRAW_LINE_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_line.h
C
apache-2.0
952
/** * @file lv_draw_rect.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_rect.h" #include "../lv_misc/lv_circ.h" #include "../lv_misc/lv_math.h" #include "../lv_core/lv_refr.h" /********************* * DEFINES *********************/ /*Circle segment greater then this...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_rect.c
C
apache-2.0
61,415
/** * @file lv_draw_rect.h * */ #ifndef LV_DRAW_RECT_H #define LV_DRAW_RECT_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_draw.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS *****...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_rect.h
C
apache-2.0
897
/** * @file lv_draw_triangle.c * */ /********************* * INCLUDES *********************/ #include "lv_draw_triangle.h" #include "../lv_misc/lv_math.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /*********************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_triangle.c
C
apache-2.0
10,671
/** * @file lv_draw_triangle.h * */ #ifndef LV_DRAW_TRIANGLE_H #define LV_DRAW_TRIANGLE_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_draw.h" /********************* * DEFINES *********************/ /********************** * TYP...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_draw_triangle.h
C
apache-2.0
1,388
/** * @file lv_img_cache.c * */ /********************* * INCLUDES *********************/ #include "lv_img_cache.h" #include "../lv_hal/lv_hal_tick.h" #include "../lv_misc/lv_gc.h" #if defined(LV_GC_INCLUDE) #include LV_GC_INCLUDE #endif /* LV_ENABLE_GC */ /********************* * DEFINES ************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_img_cache.c
C
apache-2.0
6,502
/** * @file lv_img_cache.h * */ #ifndef LV_IMG_CACHE_H #define LV_IMG_CACHE_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_img_decoder.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_img_cache.h
C
apache-2.0
2,233
/** * @file lv_img_decoder.c * */ /********************* * INCLUDES *********************/ #include "lv_img_decoder.h" #include "../lv_draw/lv_draw_img.h" #include "../lv_misc/lv_ll.h" #include "../lv_misc/lv_color.h" #include "../lv_misc/lv_gc.h" #if defined(LV_GC_INCLUDE) #include LV_GC_INCLUDE #endif /* ...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_img_decoder.c
C
apache-2.0
25,098
/** * @file lv_img_decoder.h * */ #ifndef LV_IMG_DEOCER_H #define LV_IMG_DEOCER_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #include <stdint.h> #include "../lv_m...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_draw/lv_img_decoder.h
C
apache-2.0
13,745
/** * @file lv_font.c * */ /********************* * INCLUDES *********************/ #include "lv_font.h" #include "../lv_misc/lv_utils.h" #include "../lv_misc/lv_log.h" /********************* * DEFINES *********************/ /********************** * TYPEDEFS **********************/ /******...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font.c
C
apache-2.0
2,030
/** * @file lv_font.h * */ #ifndef LV_FONT_H #define LV_FONT_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #include <stdint.h> #include <stddef.h> #include <stdboo...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font.h
C
apache-2.0
4,014
CSRCS += lv_font.c CSRCS += lv_font_fmt_txt.c CSRCS += lv_font_roboto_12.c CSRCS += lv_font_roboto_16.c CSRCS += lv_font_roboto_22.c CSRCS += lv_font_roboto_28.c CSRCS += lv_font_unscii_8.c DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_font VPATH += :$(LVGL_DIR)/lvgl/src/lv_font CFLAGS += "-I$(LVGL_DIR)/lvgl/src/lv_f...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font.mk
Makefile
apache-2.0
325
/** * @file lv_font.c * */ /********************* * INCLUDES *********************/ #include "lv_font.h" #include "lv_font_fmt_txt.h" #include "../lv_misc/lv_types.h" #include "../lv_misc/lv_log.h" #include "../lv_misc/lv_utils.h" /********************* * DEFINES *********************/ /************...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font_fmt_txt.c
C
apache-2.0
9,335
/** * @file lv_font.h * */ #ifndef LV_FONT_FMT_TXT_H #define LV_FONT_FMT_TXT_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #include <stdint.h> #include <stddef.h> ...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font_fmt_txt.h
C
apache-2.0
7,332
#include "../../lvgl.h" /******************************************************************************* * Size: 12 px * Bpp: 4 * Opts: ******************************************************************************/ #ifndef LV_FONT_ROBOTO_12 #define LV_FONT_ROBOTO_12 1 #endif #if LV_FONT_ROBOTO_12 /*-----------...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font_roboto_12.c
C
apache-2.0
59,580
#include "../../lvgl.h" /******************************************************************************* * Size: 16 px * Bpp: 4 * Opts: ******************************************************************************/ #ifndef LV_FONT_ROBOTO_16 #define LV_FONT_ROBOTO_16 1 #endif #if LV_FONT_ROBOTO_16 /*-----------...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font_roboto_16.c
C
apache-2.0
82,328
#include "../../lvgl.h" /******************************************************************************* * Size: 22 px * Bpp: 4 * Opts: ******************************************************************************/ #ifndef LV_FONT_ROBOTO_22 #define LV_FONT_ROBOTO_22 1 #endif #if LV_FONT_ROBOTO_22 /*-----------...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font_roboto_22.c
C
apache-2.0
126,949
#include "../../lvgl.h" /******************************************************************************* * Size: 28 px * Bpp: 4 * Opts: ******************************************************************************/ #ifndef LV_FONT_ROBOTO_28 #define LV_FONT_ROBOTO_28 1 #endif #if LV_FONT_ROBOTO_28 /*-----------...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font_roboto_28.c
C
apache-2.0
180,262
#include "../../lvgl.h" /******************************************************************************* * Size: 8 px * Bpp: 1 * Opts: ******************************************************************************/ #ifndef LV_FONT_UNSCII_8 #define LV_FONT_UNSCII_8 1 #endif #if LV_FONT_UNSCII_8 /*--------------...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_font_unscii_8.c
C
apache-2.0
15,432
#ifndef LV_SYMBOL_DEF_H #define LV_SYMBOL_DEF_H /* clang-format off */ #ifdef __cplusplus extern "C" { #endif #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif #define LV_SYMBOL_AUDIO "\xef\x80\x81" #define LV_SYMBOL_VIDEO "\xef\x80\x88" #define LV_SYMBOL_...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_font/lv_symbol_def.h
C
apache-2.0
4,402
/** * @file lv_hal.h * */ #ifndef LV_HAL_H #define LV_HAL_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lv_hal_disp.h" #include "lv_hal_indev.h" #include "lv_hal_tick.h" /********************* * DEFINES *********************/ /*********...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_hal/lv_hal.h
C
apache-2.0
566
CSRCS += lv_hal_disp.c CSRCS += lv_hal_indev.c CSRCS += lv_hal_tick.c DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_hal VPATH += :$(LVGL_DIR)/lvgl/src/lv_hal CFLAGS += "-I$(LVGL_DIR)/lvgl/src/lv_hal"
YifuLiu/AliOS-Things
components/littlevgl/src/lv_hal/lv_hal.mk
Makefile
apache-2.0
202
/** * @file hal_disp.c * * @description HAL layer for display driver * */ /********************* * INCLUDES *********************/ #include <stdint.h> #include <stddef.h> #include "lv_hal.h" #include "../lv_misc/lv_mem.h" #include "../lv_core/lv_obj.h" #include "../lv_core/lv_refr.h" #include "../lv_misc/...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_hal/lv_hal_disp.c
C
apache-2.0
9,890
/** * @file lv_hal_disp.h * * @description Display Driver HAL interface header file * */ #ifndef LV_HAL_DISP_H #define LV_HAL_DISP_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include <stdint.h> #include <stdbool.h> #include "lv_hal.h" #include "../lv...
YifuLiu/AliOS-Things
components/littlevgl/src/lv_hal/lv_hal_disp.h
C
apache-2.0
9,288