bd6e04411e
Use this short header style in all Kconfig files: # <description> # <copyright> # <license> ... Also change all <description>s from # Kconfig[.extension] - Foo-related options to just # Foo-related options It's clear enough that it's about Kconfig. The <description> cleanup was done with this command, along with some manual cleanup (big letter at the start, etc.) git ls-files '*Kconfig*' | \ xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
42 lines
769 B
Plaintext
42 lines
769 B
Plaintext
# ILI9340 display driver configuration options
|
|
|
|
# Copyright (c) 2017 Jan Van Winkel <jan.van_winkel@dxplore.eu>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig ILI9340
|
|
bool "ILI9340 display driver"
|
|
depends on SPI
|
|
help
|
|
Enable driver for ILI9340 display driver.
|
|
|
|
if ILI9340
|
|
|
|
choice
|
|
prompt "LCD"
|
|
default ILI9340_LCD_ADAFRUIT_1480
|
|
help
|
|
Specify the type of LCD connected to the ILI9340 display controller.
|
|
|
|
config ILI9340_LCD_ADAFRUIT_1480
|
|
bool "Adafruit 2.2\" TFT 1480"
|
|
|
|
config ILI9340_LCD_SEEED_TFTV2
|
|
bool "Seeed 2.8\" TFT v2.0"
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Color pixel format"
|
|
help
|
|
Specify the color pixel format of the ILI9340 display controller.
|
|
|
|
config ILI9340_RGB888
|
|
bool "RGB888"
|
|
|
|
config ILI9340_RGB565
|
|
bool "RGB565"
|
|
|
|
endchoice
|
|
|
|
endif # ILI9340
|