2019-11-01 20:45:29 +08:00
|
|
|
# SSD1306 display controller configuration options
|
2018-07-20 00:11:50 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2018 Phytec Messtechnik GmbH
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig SSD1306
|
|
|
|
bool "SSD1306 display driver"
|
2022-08-08 23:18:55 +08:00
|
|
|
default y
|
2023-04-16 14:15:33 +08:00
|
|
|
depends on DT_HAS_SOLOMON_SSD1306FB_ENABLED || DT_HAS_SINOWEALTH_SH1106_ENABLED
|
2022-08-08 23:18:55 +08:00
|
|
|
select I2C if $(dt_compat_on_bus,$(DT_COMPAT_SOLOMON_SSD1306FB),i2c)
|
|
|
|
select SPI if $(dt_compat_on_bus,$(DT_COMPAT_SOLOMON_SSD1306FB),spi)
|
2023-04-16 14:15:33 +08:00
|
|
|
select I2C if $(dt_compat_on_bus,$(DT_COMPAT_SINOWEALTH_SH1106),i2c)
|
|
|
|
select SPI if $(dt_compat_on_bus,$(DT_COMPAT_SINOWEALTH_SH1106),spi)
|
2018-07-20 00:11:50 +08:00
|
|
|
help
|
|
|
|
Enable driver for SSD1306 display driver.
|
|
|
|
|
|
|
|
if SSD1306
|
|
|
|
|
|
|
|
config SSD1306_DEFAULT_CONTRAST
|
|
|
|
int "SSD1306 default contrast"
|
|
|
|
default 128
|
|
|
|
range 0 255
|
|
|
|
help
|
2021-10-12 18:25:48 +08:00
|
|
|
SSD1306 default contrast.
|
2018-07-20 00:11:50 +08:00
|
|
|
|
2019-11-01 17:24:07 +08:00
|
|
|
endif # SSD1306
|