zephyr/boards/m5stack/m5stack_atoms3/Kconfig.defconfig
Daniel DeGrasse c071e27e2d boards: fix dependency for LV_COLOR_SWAP_16 to use configdefault
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>
2024-11-21 09:19:19 +01:00

11 lines
276 B
Plaintext

# M5Stack AtomS3 board configuration
# Copyright (c) 2023 Benjamin Cabé <benjamin@zephyrproject.org>
# SPDX-License-Identifier: Apache-2.0
if BOARD_M5STACK_ATOMS3_ESP32S3_PROCPU
configdefault LV_COLOR_16_SWAP
default y if LVGL
endif # BOARD_M5STACK_ATOMS3_ESP32S3_PROCPU