zephyr/modules/Kconfig.lvgl
Gerard Marull-Paretas 166d013311 modules: lvgl: disable for CPU_CORTEX_M0/M0PLUS
There is a compiler bug in the current Zephyr SDK (GCC 10.3.0) that
prevents using LVGL on ARM Cortex M0/M0+. Disable LVGL on such CPU until
the next SDK is deployed (GCC 12.1), as the issues does not appear
anymore.

Ref. https://github.com/lvgl/lvgl/issues/3425

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-06-28 15:53:10 +02:00

51 lines
833 B
Plaintext

# Copyright (c) 2022 Huawei Inc.
# SPDX-License-Identifier: Apache-2.0
config LVGL
bool "LittlevGL GUI library"
depends on !CPU_CORTEX_M0 && !CPU_CORTEX_M0PLUS
help
This option enables the LittlevGL GUI library.
if LVGL
config LV_Z_POINTER_KSCAN
bool
config LV_Z_POINTER_KSCAN_DEV_NAME
string
default "KSCAN"
config LV_Z_POINTER_KSCAN_MSGQ_COUNT
int
default 10
config LV_Z_POINTER_KSCAN_SWAP_XY
bool
config LV_Z_POINTER_KSCAN_INVERT_X
bool
config LV_Z_POINTER_KSCAN_INVERT_Y
bool
choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_16
prompt "Color depth."
depends on LVGL
config LV_COLOR_DEPTH_32
bool "32: ARGB8888"
config LV_COLOR_DEPTH_16
bool "16: RGB565"
config LV_COLOR_DEPTH_8
bool "8: RGB232"
config LV_COLOR_DEPTH_1
bool "1: 1 byte per pixel"
endchoice
config LV_COLOR_16_SWAP
bool
endif