1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/lvgl: add extra diget dependency

This commit is contained in:
Francisco Molina 2022-03-07 09:38:42 +01:00
parent 7e587b068e
commit 1567a080ce
2 changed files with 9 additions and 1 deletions

View File

@ -188,6 +188,9 @@ config MODULE_LVGL_EXTRA_WIDGET_LIST
config MODULE_LVGL_EXTRA_WIDGET_MENU
bool "Menu extra widget"
select MODULE_LVGL_WIDGET_IMG
select MODULE_LVGL_WIDGET_BTN
select MODULE_LVGL_WIDGET_LABEL
select LV_USE_MENU if KCONFIG_USEPKG_LVGL
config MODULE_LVGL_EXTRA_WIDGET_METER
@ -212,6 +215,7 @@ config MODULE_LVGL_EXTRA_WIDGET_SPINNER
config MODULE_LVGL_EXTRA_WIDGET_TABVIEW
bool "Tabview extra widget"
select MODULE_LVGL_WIDGET_BTNMATRIX
select LV_USE_TABVIEW if KCONFIG_USEPKG_LVGL
config MODULE_LVGL_EXTRA_WIDGET_TILEVIEW

View File

@ -12,11 +12,15 @@ ifneq (,$(filter lvgl_extra_widget_spinner,$(USEMODULE)))
USEMODULE += lvgl_widget_arc
endif
ifneq (,$(filter lvgl_extra_widget_win,$(USEMODULE)))
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