1
0
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:
Leandro Lanzieri 2021-05-26 09:18:22 +02:00 committed by GitHub
commit 21d454a226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 4 additions and 6 deletions

View File

@ -8,3 +8,4 @@
config MODULE_DISP_DEV
bool "Display device generic API"
depends on TEST_KCONFIG
imply MODULE_AUTO_INIT_SCREEN

View File

@ -0,0 +1 @@
DEFAULT_MODULE += auto_init_screen

View File

@ -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!

View File

@ -0,0 +1 @@
DEFAULT_MODULE += auto_init_screen

View File

@ -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]"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -3,7 +3,6 @@ include ../Makefile.tests_common
DISABLE_MODULE += test_utils_interactive_sync
USEMODULE += auto_init_screen
USEMODULE += touch_dev
USEMODULE += xtimer