drivers/lcd: Add support to Alphanumeric Sitronix ST7032i display

This commit is contained in:
Alan Carvalho de Assis
2018-11-24 18:43:33 -06:00
committed by Gregory Nutt
parent 0af39e1493
commit ed64da90fa
4 changed files with 1255 additions and 0 deletions
+13
View File
@@ -1198,5 +1198,18 @@ config LCD_BACKPACK
See pcf8574_lcd_backpack_readme.txt
config LCD_ST7032
bool "ST7032 over I2C (i.e. JLX1602G-390)"
default n
depends on I2C
---help---
Enable support for ST7032i on I2C. This driver was tested with
JLX1602G-390 that has 10 pins: CAP1N, CAP1P, VOUT, VCC, SHLS,
SHLC, GND, SDA, SCL, XRESET. The XRESET pin is connected to a
pull-up resistor, then the module automatically executes power-on
reset when power is supplied to the module. The pin SHLS is also
connected to a pull-up resistor and the pin SHLC is connected to
the ground. So only I2C pins SDA and SCL are used by NuttX.
endif # SLCD
endmenu # LCD Driver Support
+4
View File
@@ -128,6 +128,10 @@ ifeq ($(CONFIG_SLCD),y)
ifeq ($(CONFIG_LCD_BACKPACK),y)
CSRCS += pcf8574_lcd_backpack.c
endif
ifeq ($(CONFIG_LCD_ST7032),y)
CSRCS += st7032.c
endif
endif # CONFIG_SLCD
# Include LCD driver build support (the nested if-then-else implements an OR)
+1080
View File
File diff suppressed because it is too large Load Diff