2020-06-21 18:27:35 +02:00
|
|
|
USEMODULE += lvgl
|
2020-01-02 16:07:12 +01:00
|
|
|
USEMODULE += lvgl_core
|
|
|
|
USEMODULE += lvgl_draw
|
2021-06-04 13:57:55 +02:00
|
|
|
USEMODULE += lvgl_draw_sw
|
|
|
|
USEMODULE += lvgl_extra
|
2020-01-02 16:07:12 +01:00
|
|
|
USEMODULE += lvgl_font
|
|
|
|
USEMODULE += lvgl_hal
|
|
|
|
USEMODULE += lvgl_misc
|
2020-05-31 20:47:55 +02:00
|
|
|
USEMODULE += lvgl_widgets
|
2020-01-02 16:07:12 +01:00
|
|
|
|
2021-06-04 13:57:55 +02:00
|
|
|
ifneq (,$(filter lvgl_extra_widget_spinner,$(USEMODULE)))
|
|
|
|
USEMODULE += lvgl_widget_arc
|
|
|
|
endif
|
|
|
|
|
2022-03-07 09:38:42 +01:00
|
|
|
ifneq (,$(filter lvgl_extra_widget_win lvgl_extra_widget_menu,$(USEMODULE)))
|
2021-06-04 13:57:55 +02:00
|
|
|
USEMODULE += lvgl_widget_btn
|
|
|
|
USEMODULE += lvgl_widget_img
|
|
|
|
endif
|
|
|
|
|
2022-03-07 09:38:42 +01:00
|
|
|
ifneq (,$(filter lvgl_extra_widget_tabview,$(USEMODULE)))
|
|
|
|
USEMODULE += lvgl_widget_btnmatrix
|
|
|
|
endif
|
|
|
|
|
2021-06-04 13:57:55 +02:00
|
|
|
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
|
|
|
|
|
2020-01-02 16:07:12 +01:00
|
|
|
ifneq (,$(filter lvgl_contrib,$(USEMODULE)))
|
|
|
|
USEMODULE += disp_dev
|
|
|
|
USEMODULE += core_thread_flags
|
2021-10-21 18:16:46 +02:00
|
|
|
USEMODULE += ztimer
|
|
|
|
USEMODULE += ztimer_msec
|
2020-01-02 16:07:12 +01:00
|
|
|
endif
|
|
|
|
|
2020-05-31 17:59:17 +02:00
|
|
|
ifneq (,$(filter lvgl_contrib_touch,$(USEMODULE)))
|
|
|
|
USEMODULE += touch_dev
|
|
|
|
endif
|
|
|
|
|
2020-01-02 16:07:12 +01:00
|
|
|
# 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
|