Use configdefault when enabling LV_COLOR_SWAP_16 within boards and shield definitions, to avoid OR'ing the dependencies for the Kconfig symbol. Otherwise, a user manually selecting LV_COLOR_DEPTH will encounter build errors as LV_COLOR_SWAP_16 may be enabled when LV_COLOR_DEPTH_16 is not selected Fixes #81546 Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
45 lines
849 B
Plaintext
45 lines
849 B
Plaintext
# M5Stack Core2 board configuration
|
|
# Copyright (c) 2022 AVSystem Sławomir Wolf Sp.j. (AVSystem)
|
|
# Copyright (c) 2023 Martin Kiepfer <m.kiepfer@teleschirm.org>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_M5STACK_CORE2_ESP32_PROCPU
|
|
|
|
config KERNEL_MEM_POOL
|
|
default y
|
|
|
|
config GPIO_HOGS_INIT_PRIORITY
|
|
default 70
|
|
|
|
config MFD_INIT_PRIORITY
|
|
default 70
|
|
|
|
config REGULATOR_AXP192_INIT_PRIORITY
|
|
default 71
|
|
|
|
config GPIO_AXP192_INIT_PRIORITY
|
|
default 72
|
|
|
|
config REGULATOR_FIXED_INIT_PRIORITY
|
|
default 75
|
|
|
|
config INPUT_FT5336_INTERRUPT
|
|
default y if INPUT
|
|
|
|
config INPUT
|
|
default y
|
|
|
|
configdefault LV_COLOR_16_SWAP
|
|
default y if LVGL
|
|
|
|
# Increase initialization priority of MIPI DBI device, so that it initializes
|
|
# after the GPIO controller
|
|
if MIPI_DBI
|
|
|
|
config MIPI_DBI_INIT_PRIORITY
|
|
default 82
|
|
|
|
endif # MIPI_DBI
|
|
|
|
endif # BOARD_M5STACK_CORE2_ESP32_PROCPU
|