OLED: driver naming cleanups (#21710)
This commit is contained in:
parent
0ac8221a0a
commit
5d2f2af198
263 changed files with 19 additions and 306 deletions
|
|
@ -747,8 +747,8 @@ ifeq ($(strip $(HD44780_ENABLE)), yes)
|
|||
SRC += hd44780.c
|
||||
endif
|
||||
|
||||
VALID_OLED_DRIVER_TYPES := SSD1306 custom
|
||||
OLED_DRIVER ?= SSD1306
|
||||
VALID_OLED_DRIVER_TYPES := custom ssd1306
|
||||
OLED_DRIVER ?= ssd1306
|
||||
VALID_OLED_TRANSPORT_TYPES := i2c spi custom
|
||||
OLED_TRANSPORT ?= i2c
|
||||
ifeq ($(strip $(OLED_ENABLE)), yes)
|
||||
|
|
|
|||
|
|
@ -29,17 +29,17 @@ OLED_ENABLE = yes
|
|||
|
||||
|OLED Driver |Supported Device |
|
||||
|-------------------|------------------------------------|
|
||||
|SSD1306 (default) |For both SSD1306, SH1106, and SH1107|
|
||||
|`ssd1306` (default)|For both SSD1306, SH1106, and SH1107|
|
||||
|
||||
e.g.
|
||||
```make
|
||||
OLED_DRIVER = SSD1306
|
||||
OLED_DRIVER = ssd1306
|
||||
```
|
||||
|
||||
|OLED Transport | |
|
||||
|---------------|------------------------------------------------|
|
||||
|i2c (default) | Uses I2C for communication with the OLED panel |
|
||||
|spi | Uses SPI for communication with the OLED panel |
|
||||
|`i2c` (default)| Uses I2C for communication with the OLED panel |
|
||||
|`spi` | Uses SPI for communication with the OLED panel |
|
||||
|
||||
e.g.
|
||||
```make
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ AUDIO_ENABLE = no # Audio output
|
|||
ENCODER_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ AUDIO_ENABLE = no # Audio output
|
|||
ENCODER_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
|
|
|||
|
|
@ -10,6 +10,4 @@ NKRO_ENABLE = no # Enable N-Key Rollover
|
|||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
|
@ -15,5 +15,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
BLUETOOTH_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
ENCODER_ENABLE = yes
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@ WS2812_DRIVER = vendor
|
|||
ENCODER_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
||||
DEFAULT_FOLDER = 1upkeyboards/pi40/mit_v1_0
|
||||
|
|
|
|||
|
|
@ -12,6 +12,5 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
||||
SRC += ./common/oled_helper.c
|
||||
|
|
|
|||
|
|
@ -5,5 +5,4 @@ GRAVE_ESC_ENABLE = no
|
|||
MAGIC_ENABLE = no
|
||||
ENCODER_MAP_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
WPM_ENABLE = yes
|
||||
|
|
|
|||
|
|
@ -12,4 +12,3 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes # Encoder functionality
|
||||
OLED_ENABLE = yes # OLED functionality
|
||||
OLED_DRIVER = SSD1306
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
# OLED_DRIVER = not a real thing
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
# OLED_DRIVER = not a real thing
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
OLED_DRIVER = SSD1306
|
||||
|
|
@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C
|
||||
ENCODER_ENABLE = yes
|
||||
SPLIT_KEYBOARD = yes
|
||||
LTO_ENABLE = yes
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C
|
||||
|
||||
OPT_DEFS += -DHAL_USE_I2C=TRUE
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C
|
||||
|
||||
OPT_DEFS += -DHAL_USE_I2C=TRUE
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C
|
||||
|
|
|
|||
|
|
@ -12,5 +12,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
UNICODE_ENABLE = yes # Unicode
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306 # Enable Support for Oled Display
|
||||
ENCODER_ENABLE = yes # Enable Support for Encoder
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue