1# Copyright (c) 2024 Leon Rinkel <leon@rinkel.me>
2# SPDX-License-Identifier: Apache-2.0
3
4if BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_ESP32S3_PROCPU
5
6if DISPLAY
7
8config BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT
9	select BOARD_LATE_INIT_HOOK
10
11choice ST7789V_PIXEL_FORMAT
12	default ST7789V_RGB565
13endchoice
14
15if LVGL
16
17config LV_Z_BITS_PER_PIXEL
18	default 16
19
20choice LV_COLOR_DEPTH
21	default LV_COLOR_DEPTH_16
22endchoice
23
24config LV_COLOR_16_SWAP
25	default y
26
27endif # LVGL
28
29endif # DISPLAY
30
31endif # BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_PROCPU
32