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
|
|
|
|
|
|
|
|
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
|