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:
parent
7e587b068e
commit
1567a080ce
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user