1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/lvgl/Makefile.include
Alexandre Abadie 0a33a08f21
pkg/lvgl: bump to v8.2.0
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
2022-02-25 14:24:28 +01:00

43 lines
1.3 KiB
Makefile

INCLUDES += -I$(RIOTBASE)/pkg/lvgl/include
INCLUDES += -I$(PKGDIRBASE)
# Don't use relative includes in lvgl
CFLAGS += -DLV_CONF_INCLUDE_SIMPLE
# fix "cast increases required alignment of target type" raised from a header file
CFLAGS += -Wno-cast-align
ifneq (,$(filter lvgl_contrib,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/lvgl/contrib
endif
# Configure the lvgl_riot_conf.h header for lvgl kconfig management
CFLAGS += -DLV_CONF_KCONFIG_EXTERNAL_INCLUDE=\""lvgl_riot_conf.h"\"
# lvgl module is not a concrete module, so declare it as a pseudomodule
PSEUDOMODULES += lvgl
# touch capabilities are available via a pseudomodule
PSEUDOMODULES += lvgl_contrib_touch
# 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