Add lvgl as main component
This commit is contained in:
parent
46499c0f26
commit
0752a3d4a2
11 changed files with 1134 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 eafd24d14e3c914b870e9575e5ec33d06280d313
|
||||
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 6e005d978c0323426943d25e25082be922958506
|
||||
1
lvgl/lvgl
Submodule
1
lvgl/lvgl
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit fbf0303b2d92f53f5aeca5181112e2f72a642f1e
|
||||
Loading…
Add table
Add a link
Reference in a new issue