2019-11-01 20:45:29 +08:00
|
|
|
# ST7789V display driver configuration options
|
2019-07-04 18:15:33 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2019 Marc Reilly <marc@cpdesign.com.au>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig ST7789V
|
|
|
|
bool "ST7789V display driver"
|
|
|
|
depends on SPI
|
|
|
|
help
|
|
|
|
Enable driver for ST7789V display driver.
|
|
|
|
|
|
|
|
if ST7789V
|
|
|
|
|
2020-01-04 19:50:41 +08:00
|
|
|
choice ST7789V_PIXEL_FORMAT
|
2019-07-04 18:15:33 +08:00
|
|
|
prompt "Color pixel format"
|
|
|
|
default ST7789V_RGB565
|
|
|
|
help
|
|
|
|
Specify the color pixel format for the ST7789V display controller.
|
|
|
|
|
|
|
|
config ST7789V_RGB888
|
|
|
|
bool "RGB888"
|
|
|
|
|
|
|
|
config ST7789V_RGB565
|
|
|
|
bool "RGB565"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2019-11-01 17:24:07 +08:00
|
|
|
endif # ST7789V
|