2020-01-02 16:07:12 +01:00
|
|
|
INCLUDES += -I$(RIOTBASE)/pkg/lvgl/include
|
|
|
|
INCLUDES += -I$(PKGDIRBASE)
|
|
|
|
|
|
|
|
# Don't use relative includes in lvgl
|
|
|
|
CFLAGS += -DLV_CONF_INCLUDE_SIMPLE
|
|
|
|
|
2021-06-04 13:57:55 +02:00
|
|
|
# fix "cast increases required alignment of target type" raised from a header file
|
|
|
|
CFLAGS += -Wno-cast-align
|
|
|
|
|
2020-01-02 16:07:12 +01:00
|
|
|
ifneq (,$(filter lvgl_contrib,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lvgl/contrib
|
|
|
|
endif
|
|
|
|
|
2021-04-18 16:28:30 +02:00
|
|
|
# Configure the lvgl_riot_conf.h header for lvgl kconfig management
|
|
|
|
CFLAGS += -DLV_CONF_KCONFIG_EXTERNAL_INCLUDE=\""lvgl_riot_conf.h"\"
|
|
|
|
|
2020-06-03 16:00:56 +02:00
|
|
|
# lvgl module is not a concrete module, so declare it as a pseudomodule
|
|
|
|
PSEUDOMODULES += lvgl
|
2020-05-31 17:59:17 +02:00
|
|
|
|
|
|
|
# touch capabilities are available via a pseudomodule
|
|
|
|
PSEUDOMODULES += lvgl_contrib_touch
|
2021-06-04 13:57:55 +02:00
|
|
|
|
|
|
|
# extra modes for the default theme
|
|
|
|
PSEUDOMODULES += lvgl_extra_theme_default_dark
|
|
|
|
PSEUDOMODULES += lvgl_extra_theme_default_grow
|
|
|
|
|
|
|
|
# extra lvgl widgets defined as pseudomodules
|
|
|
|
PSEUDOMODULES += lvgl_widget_arc
|
|
|
|
PSEUDOMODULES += lvgl_widget_bar
|
|
|
|
PSEUDOMODULES += lvgl_widget_btn
|
|
|
|
PSEUDOMODULES += lvgl_widget_btnmatrix
|
|
|
|
PSEUDOMODULES += lvgl_widget_canvas
|
|
|
|
PSEUDOMODULES += lvgl_widget_checkbox
|
|
|
|
PSEUDOMODULES += lvgl_widget_dropdown
|
|
|
|
PSEUDOMODULES += lvgl_widget_img
|
|
|
|
PSEUDOMODULES += lvgl_widget_label
|
|
|
|
PSEUDOMODULES += lvgl_widget_line
|
|
|
|
PSEUDOMODULES += lvgl_widget_roller
|
|
|
|
PSEUDOMODULES += lvgl_widget_slider
|
|
|
|
PSEUDOMODULES += lvgl_widget_switch
|
|
|
|
PSEUDOMODULES += lvgl_widget_textarea
|
|
|
|
PSEUDOMODULES += lvgl_widget_table
|