LVGL: Open-source Embedded GUI Library (#669)
* Add lvgl as main component * update dev5.2 lvgl branch * update lvgl 5.2 +update example + update configuration * Update submodule and example * update lv_drivers (fix) and example * fix problem when merge
This commit is contained in:
parent
bbc22571ec
commit
d0373af5c0
11 changed files with 1173 additions and 0 deletions
37
lvgl/component.mk
Normal file
37
lvgl/component.mk
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Component makefile for lvgl/lvgl
|
||||
|
||||
# expected anyone using this driver includes it as 'lvgl/lvgl.h'
|
||||
INC_DIRS += $(lvgl_ROOT)
|
||||
|
||||
# args for passing into compile rule generation
|
||||
lvgl_SRC_DIR = $(lvgl_ROOT) \
|
||||
$(lvgl_ROOT)/lvgl \
|
||||
$(lvgl_ROOT)/lvgl/lv_core \
|
||||
$(lvgl_ROOT)/lvgl/lv_draw \
|
||||
$(lvgl_ROOT)/lvgl/lv_hal \
|
||||
$(lvgl_ROOT)/lvgl/lv_misc \
|
||||
$(lvgl_ROOT)/lvgl/lv_fonts \
|
||||
$(lvgl_ROOT)/lvgl/lv_objx \
|
||||
$(lvgl_ROOT)/lvgl/lv_themes \
|
||||
$(lvgl_ROOT)/lv_drivers/display \
|
||||
$(lvgl_ROOT)/lv_drivers/indev
|
||||
|
||||
LVGL_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
|
||||
#EXTRA_CFLAGS += -DLV_CONF_INCLUDE_SIMPLE=1
|
||||
|
||||
#include $(LVGL_DIR)defaults.mk
|
||||
#
|
||||
#fonts_CFLAGS = $(CFLAGS) \
|
||||
-DLV_HOR_RES=$(LV_HOR_RES) \
|
||||
-DLV_VER_RES=$(LV_VER_RES) \
|
||||
-DLV_DPI=$(LV_DPI) \
|
||||
-DLV_VDB_SIZE=$(LV_VDB_SIZE) \
|
||||
-DLV_VDB_ADR=$(LV_VDB_ADR) \
|
||||
-DLV_VDB_DOUBLE=$(LV_VDB_DOUBLE) \
|
||||
-DLV_VDB2_ADR=$(LV_VDB2_ADR) \
|
||||
-DLV_ANTIALIAS=$(LV_ANTIALIAS) \
|
||||
-DLV_FONT_ANTIALIAS=$(LV_FONT_ANTIALIAS) \
|
||||
-DLV_REFR_PERIOD=$(LV_REFR_PERIOD)
|
||||
|
||||
$(eval $(call component_compile_rules,lvgl))
|
||||
3
lvgl/lv_conf.h
Normal file
3
lvgl/lv_conf.h
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
/* Use the defaults for everything else */
|
||||
#include_next <lv_conf.h>
|
||||
1
lvgl/lv_drivers
Submodule
1
lvgl/lv_drivers
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 8fe0804ceb875193a37106a2e25d07c106650a86
|
||||
3
lvgl/lv_drv_conf.h
Normal file
3
lvgl/lv_drv_conf.h
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
/* Use the defaults for everything else */
|
||||
#include_next <lv_drv_conf.h>
|
||||
1
lvgl/lv_examples
Submodule
1
lvgl/lv_examples
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit c3afbc9819f5492a7fe7e7e18a37df95fb60f449
|
||||
1
lvgl/lvgl
Submodule
1
lvgl/lvgl
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 41695bf9ac758ae3276424e06308e1bb89c4c019
|
||||
Loading…
Add table
Add a link
Reference in a new issue