1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/lvgl/Makefile.dep
2022-03-28 08:59:16 +02:00

48 lines
1.2 KiB
Makefile

USEMODULE += lvgl
USEMODULE += lvgl_core
USEMODULE += lvgl_draw
USEMODULE += lvgl_draw_sw
USEMODULE += lvgl_extra
USEMODULE += lvgl_font
USEMODULE += lvgl_hal
USEMODULE += lvgl_misc
USEMODULE += lvgl_widgets
ifneq (,$(filter lvgl_extra_widget_spinner,$(USEMODULE)))
USEMODULE += lvgl_widget_arc
endif
ifneq (,$(filter lvgl_extra_widget_win lvgl_extra_widget_menu,$(USEMODULE)))
USEMODULE += lvgl_widget_btn
USEMODULE += lvgl_widget_img
endif
ifneq (,$(filter lvgl_extra_widget_tabview,$(USEMODULE)))
USEMODULE += lvgl_widget_btnmatrix
endif
ifneq (,$(filter lvgl_widget_textarea lvgl_widget_roller lvgl_widget_img lvgl_widget_dropdown lvgl_extra_widget_win,$(USEMODULE)))
USEMODULE += lvgl_widget_label
endif
ifneq (,$(filter lvgl_widget_slider,$(USEMODULE)))
USEMODULE += lvgl_widget_bar
endif
ifneq (,$(filter lvgl_contrib,$(USEMODULE)))
USEMODULE += disp_dev
USEMODULE += core_thread_flags
USEMODULE += ztimer
USEMODULE += ztimer_msec
endif
ifneq (,$(filter lvgl_contrib_touch,$(USEMODULE)))
USEMODULE += touch_dev
endif
# lvgl is not compatible with non 32bit platforms
# Building lv_misc triggers the error:
# "left shift count >= width of type [-Werror=shift-count-overflow]"
FEATURES_BLACKLIST += arch_8bit
FEATURES_BLACKLIST += arch_16bit