mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 08:26:21 +00:00
OLED: driver naming cleanups (#21710)
This commit is contained in:
parent
0ac8221a0a
commit
5d2f2af198
@ -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
|
||||
|
@ -1,3 +1,2 @@
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
WPM_ENABLE = yes
|
||||
|
@ -12,6 +12,5 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
|
@ -12,6 +12,5 @@ COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = no # Enable N-Key Rollover
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306 # Disable OLED driver.
|
||||
|
||||
LTO_ENABLE = yes
|
||||
|
@ -6,7 +6,6 @@ LTO_ENABLE = no
|
||||
EXTRAKEY_ENABLE = no
|
||||
|
||||
# ENCODER_ENABLE = no
|
||||
# OLED_DRIVER_ENABLE = no
|
||||
# WPM_ENABLE = no
|
||||
|
||||
# Enable keyboard underlight functionality
|
||||
|
@ -1,2 +1 @@
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
@ -1,2 +1 @@
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
@ -12,4 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
@ -14,4 +14,3 @@ RGB_MATRIX_ENABLE = no
|
||||
HAPTIC_ENABLE = yes
|
||||
HAPTIC_DRIVER = drv2605l
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
@ -1,4 +1,2 @@
|
||||
OLED_DRIVER = SSD1306
|
||||
|
||||
PS2_ENABLE = yes
|
||||
PS2_DRIVER = interrupt
|
||||
|
@ -16,8 +16,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
ENCODER_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
#BACKLIGHT_ENABLE = yes
|
||||
|
||||
DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user