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>
29 lines
424 B
Text
29 lines
424 B
Text
# MAX32662EVKIT boards configuration
|
|
|
|
# Copyright (c) 2024 Analog Devices, Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_MAX32662EVKIT
|
|
|
|
if DISPLAY
|
|
|
|
config MIPI_DBI_SPI_3WIRE
|
|
default y
|
|
|
|
if LVGL
|
|
|
|
config LV_Z_BITS_PER_PIXEL
|
|
default 16
|
|
|
|
choice LV_COLOR_DEPTH
|
|
default LV_COLOR_DEPTH_16 # 16 bit per pixel
|
|
endchoice
|
|
|
|
configdefault LV_COLOR_16_SWAP
|
|
default y
|
|
|
|
endif # LVGL
|
|
|
|
endif # DISPLAY
|
|
|
|
endif # BOARD_MAX32662EVKIT
|