mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-31 21:55:55 +00:00
Delete wrong LVGL_BITS_PER_PIXEL config and add mimxrt1064_evk to the lvgl sample platform whitelist. Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
84 lines
1002 B
Plaintext
84 lines
1002 B
Plaintext
# MIMXRT1064-EVK board
|
|
|
|
# Copyright (c) 2018, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_MIMXRT1064_EVK
|
|
|
|
config BOARD
|
|
default "mimxrt1064_evk"
|
|
|
|
choice CODE_LOCATION
|
|
default CODE_FLEXSPI2
|
|
endchoice
|
|
|
|
choice DATA_LOCATION
|
|
default DATA_SEMC
|
|
endchoice
|
|
|
|
if GPIO_MCUX_IGPIO
|
|
|
|
config GPIO_MCUX_IGPIO_1
|
|
default y
|
|
|
|
config GPIO_MCUX_IGPIO_5
|
|
default y
|
|
|
|
endif # GPIO_MCUX_IGPIO
|
|
|
|
if I2C_MCUX_LPI2C
|
|
|
|
config I2C_1
|
|
default y
|
|
|
|
endif # I2C_MCUX_LPI2C
|
|
|
|
if UART_MCUX_LPUART
|
|
|
|
config UART_MCUX_LPUART_1
|
|
default y
|
|
|
|
endif # UART_MCUX_LPUART
|
|
|
|
if NETWORKING
|
|
|
|
config NET_L2_ETHERNET
|
|
default y
|
|
|
|
config ETH_MCUX_0
|
|
default y if NET_L2_ETHERNET
|
|
|
|
endif # NETWORKING
|
|
|
|
if LVGL
|
|
|
|
config LVGL_DISPLAY_DEV_NAME
|
|
default "ELCDIF_1"
|
|
|
|
config LVGL_HOR_RES
|
|
default 480
|
|
|
|
config LVGL_VER_RES
|
|
default 272
|
|
|
|
config LVGL_VDB_SIZE
|
|
default 16
|
|
|
|
config LVGL_DPI
|
|
default 128
|
|
|
|
choice LVGL_COLOR_DEPTH
|
|
default LVGL_COLOR_DEPTH_16
|
|
endchoice
|
|
|
|
endif # LVGL
|
|
|
|
if PWM_MCUX
|
|
|
|
config FLEXPWM2_PWM3
|
|
default y
|
|
|
|
endif
|
|
|
|
endif # BOARD_MIMXRT1064_EVK
|