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
|
config MODULE_DISP_DEV
|
||||||
bool "Display device generic API"
|
bool "Display device generic API"
|
||||||
depends on TEST_KCONFIG
|
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
|
config MODULE_TOUCH_DEV
|
||||||
bool "Touch device generic API"
|
bool "Touch device generic API"
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
imply MODULE_AUTO_INIT_SCREEN
|
||||||
help
|
help
|
||||||
This API is experimental and in an early state - expect changes!
|
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
|
USEMODULE += touch_dev
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DEFAULT_MODULE += auto_init_screen
|
|
||||||
|
|
||||||
# lvgl is not compatible with non 32bit platforms
|
# lvgl is not compatible with non 32bit platforms
|
||||||
# Building lv_misc triggers the error:
|
# Building lv_misc triggers the error:
|
||||||
# "left shift count >= width of type [-Werror=shift-count-overflow]"
|
# "left shift count >= width of type [-Werror=shift-count-overflow]"
|
||||||
|
|||||||
@ -3,7 +3,6 @@ include ../Makefile.tests_common
|
|||||||
|
|
||||||
DISABLE_MODULE += test_utils_interactive_sync
|
DISABLE_MODULE += test_utils_interactive_sync
|
||||||
|
|
||||||
USEMODULE += auto_init_screen
|
|
||||||
USEMODULE += disp_dev
|
USEMODULE += disp_dev
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
config APPLICATION
|
config APPLICATION
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
imply MODULE_AUTO_INIT_SCREEN if BOARD_HAS_DISPLAY
|
|
||||||
imply MODULE_DISP_DEV if BOARD_HAS_DISPLAY
|
imply MODULE_DISP_DEV if BOARD_HAS_DISPLAY
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
# Boards with a screen can use disp_dev
|
# Boards with a screen can use disp_dev
|
||||||
ifneq (,$(filter stm32f429i-disc% pinetime adafruit-clue esp32-wrover-kit,$(BOARD)))
|
ifneq (,$(filter stm32f429i-disc% pinetime adafruit-clue esp32-wrover-kit,$(BOARD)))
|
||||||
USEMODULE += auto_init_screen
|
|
||||||
USEMODULE += disp_dev
|
USEMODULE += disp_dev
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -3,7 +3,6 @@ include ../Makefile.tests_common
|
|||||||
|
|
||||||
DISABLE_MODULE += test_utils_interactive_sync
|
DISABLE_MODULE += test_utils_interactive_sync
|
||||||
|
|
||||||
USEMODULE += auto_init_screen
|
|
||||||
USEMODULE += touch_dev
|
USEMODULE += touch_dev
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user