Some display drivers may actually be initialized after LittlevGL as those drivers and LittlevGL's lvgl_init() all have SYS_INIT() at APPLICATION and init priority the same as application init priority. Depending on how the final binary is linked, these drivers may initialize after lvgl_init() resulting in it not able to find a display driver. This changes the value of CONFIG_DISPLAY_INIT_PRIORITY so that the display drivers that make use of this kconfig are initialized a bit earlier to ensure that they are actually initialized before lvgl_init(). Signed-off-by: Daniel Leung <daniel.leung@intel.com>
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Display drivers
|
|
|
|
# Copyright (c) 2017 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig DISPLAY
|
|
bool "Display Drivers"
|
|
help
|
|
Enable display drivers
|
|
|
|
if DISPLAY
|
|
|
|
config DISPLAY_INIT_PRIORITY
|
|
int "Display devices init priority"
|
|
default 85
|
|
help
|
|
Display devices initialization priority.
|
|
|
|
module = DISPLAY
|
|
module-str = display
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
source "drivers/display/Kconfig.grove"
|
|
source "drivers/display/Kconfig.mcux_elcdif"
|
|
source "drivers/display/Kconfig.microbit"
|
|
source "drivers/display/Kconfig.ili9xxx"
|
|
source "drivers/display/Kconfig.sdl"
|
|
source "drivers/display/Kconfig.ssd1306"
|
|
source "drivers/display/Kconfig.ssd16xx"
|
|
source "drivers/display/Kconfig.st7735r"
|
|
source "drivers/display/Kconfig.st7789v"
|
|
source "drivers/display/Kconfig.gd7965"
|
|
source "drivers/display/Kconfig.dummy"
|
|
source "drivers/display/Kconfig.ls0xx"
|
|
|
|
config FRAMEBUF_DISPLAY
|
|
# Hidden, selected by client drivers.
|
|
bool
|
|
help
|
|
Enable framebuffer-based display 'helper' driver.
|
|
|
|
endif # DISPLAY
|