mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #16485 from aabadie/pr/auto_init_screen_enh
drivers/{disp_dev,touch_dev}: add auto_init_screen as default module when used
This commit is contained in:
commit
21d454a226
@ -8,3 +8,4 @@
|
||||
config MODULE_DISP_DEV
|
||||
bool "Display device generic API"
|
||||
depends on TEST_KCONFIG
|
||||
imply MODULE_AUTO_INIT_SCREEN
|
||||
|
1
drivers/disp_dev/Makefile.dep
Normal file
1
drivers/disp_dev/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
DEFAULT_MODULE += auto_init_screen
|
@ -8,5 +8,6 @@
|
||||
config MODULE_TOUCH_DEV
|
||||
bool "Touch device generic API"
|
||||
depends on TEST_KCONFIG
|
||||
imply MODULE_AUTO_INIT_SCREEN
|
||||
help
|
||||
This API is experimental and in an early state - expect changes!
|
||||
|
1
drivers/touch_dev/Makefile.dep
Normal file
1
drivers/touch_dev/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
DEFAULT_MODULE += auto_init_screen
|
@ -17,8 +17,6 @@ ifneq (,$(filter lvgl_contrib_touch,$(USEMODULE)))
|
||||
USEMODULE += touch_dev
|
||||
endif
|
||||
|
||||
DEFAULT_MODULE += auto_init_screen
|
||||
|
||||
# lvgl is not compatible with non 32bit platforms
|
||||
# Building lv_misc triggers the error:
|
||||
# "left shift count >= width of type [-Werror=shift-count-overflow]"
|
||||
|
@ -3,7 +3,6 @@ include ../Makefile.tests_common
|
||||
|
||||
DISABLE_MODULE += test_utils_interactive_sync
|
||||
|
||||
USEMODULE += auto_init_screen
|
||||
USEMODULE += disp_dev
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,7 +1,6 @@
|
||||
config APPLICATION
|
||||
bool
|
||||
default y
|
||||
imply MODULE_AUTO_INIT_SCREEN if BOARD_HAS_DISPLAY
|
||||
imply MODULE_DISP_DEV if BOARD_HAS_DISPLAY
|
||||
depends on TEST_KCONFIG
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
# Boards with a screen can use disp_dev
|
||||
ifneq (,$(filter stm32f429i-disc% pinetime adafruit-clue esp32-wrover-kit,$(BOARD)))
|
||||
USEMODULE += auto_init_screen
|
||||
USEMODULE += disp_dev
|
||||
endif
|
||||
|
@ -3,7 +3,6 @@ include ../Makefile.tests_common
|
||||
|
||||
DISABLE_MODULE += test_utils_interactive_sync
|
||||
|
||||
USEMODULE += auto_init_screen
|
||||
USEMODULE += touch_dev
|
||||
USEMODULE += xtimer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user