Skip to content

Commit 5d2f2af

Browse files
authored
OLED: driver naming cleanups (#21710)
1 parent 0ac8221 commit 5d2f2af

File tree

263 files changed

+19
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+19
-306
lines changed

builddefs/common_features.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,8 @@ ifeq ($(strip $(HD44780_ENABLE)), yes)
747747
SRC += hd44780.c
748748
endif
749749

750-
VALID_OLED_DRIVER_TYPES := SSD1306 custom
751-
OLED_DRIVER ?= SSD1306
750+
VALID_OLED_DRIVER_TYPES := custom ssd1306
751+
OLED_DRIVER ?= ssd1306
752752
VALID_OLED_TRANSPORT_TYPES := i2c spi custom
753753
OLED_TRANSPORT ?= i2c
754754
ifeq ($(strip $(OLED_ENABLE)), yes)

docs/feature_oled_driver.md

+4-4

keyboards/0xcb/1337/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ AUDIO_ENABLE = no # Audio output
1414
ENCODER_ENABLE = yes
1515
LTO_ENABLE = yes
1616
OLED_ENABLE = yes
17-
OLED_DRIVER = SSD1306

keyboards/0xcb/static/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ AUDIO_ENABLE = no # Audio output
1414
ENCODER_ENABLE = yes
1515
LTO_ENABLE = yes
1616
OLED_ENABLE = yes
17-
OLED_DRIVER = SSD1306

keyboards/0xcb/tutelpad/rules.mk

-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ NKRO_ENABLE = no # Enable N-Key Rollover
1010
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
1111
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
1212
AUDIO_ENABLE = no # Audio output
13-
1413
OLED_ENABLE = yes
15-
OLED_DRIVER = SSD1306

keyboards/10bleoledhub/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
1515
AUDIO_ENABLE = no # Audio output
1616
BLUETOOTH_ENABLE = yes
1717
OLED_ENABLE = yes
18-
OLED_DRIVER = SSD1306
1918
ENCODER_ENABLE = yes

keyboards/1upkeyboards/pi40/mit_v1_0/keymaps/miketronic/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ WS2812_DRIVER = vendor
2222
ENCODER_ENABLE = yes
2323
ENCODER_MAP_ENABLE = yes
2424
OLED_ENABLE = yes
25-
OLED_DRIVER = SSD1306

keyboards/1upkeyboards/pi40/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306
32

43
DEFAULT_FOLDER = 1upkeyboards/pi40/mit_v1_0

keyboards/25keys/cassette42/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
1212
AUDIO_ENABLE = no # Audio output
1313
ENCODER_ENABLE = yes
1414
OLED_ENABLE = yes
15-
OLED_DRIVER = SSD1306
1615

1716
SRC += ./common/oled_helper.c

keyboards/adpenrose/akemipad/keymaps/oled_bongocat/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ GRAVE_ESC_ENABLE = no
55
MAGIC_ENABLE = no
66
ENCODER_MAP_ENABLE = yes
77
OLED_ENABLE = yes
8-
OLED_DRIVER = SSD1306
98
WPM_ENABLE = yes

keyboards/adpenrose/kintsugi/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
1212
AUDIO_ENABLE = no # Audio output
1313
ENCODER_ENABLE = yes # Encoder functionality
1414
OLED_ENABLE = yes # OLED functionality
15-
OLED_DRIVER = SSD1306
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
VIA_ENABLE = yes
22
OLED_ENABLE = yes
3-
# OLED_DRIVER = not a real thing
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
VIA_ENABLE = yes
22
OLED_ENABLE = yes
3-
# OLED_DRIVER = not a real thing
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
OLED_DRIVER = SSD1306

keyboards/aleblazer/zodiark/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
1111
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
1212
AUDIO_ENABLE = no # Audio output
1313
OLED_ENABLE = yes
14-
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C
1514
ENCODER_ENABLE = yes
1615
SPLIT_KEYBOARD = yes
1716
LTO_ENABLE = yes

keyboards/anavi/knob1/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C
32

43
OPT_DEFS += -DHAL_USE_I2C=TRUE

keyboards/anavi/knobs3/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C
32

43
OPT_DEFS += -DHAL_USE_I2C=TRUE

keyboards/anavi/macropad8/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
1111
AUDIO_ENABLE = no # Audio output
1212
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
1313
OLED_ENABLE = yes
14-
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C

keyboards/aplyard/aplx6/rev2/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
1212
AUDIO_ENABLE = no # Audio output
1313
UNICODE_ENABLE = yes # Unicode
1414
OLED_ENABLE = yes
15-
OLED_DRIVER = SSD1306 # Enable Support for Oled Display
1615
ENCODER_ENABLE = yes # Enable Support for Encoder
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306
32
WPM_ENABLE = yes

keyboards/avalanche/v4/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
1212
AUDIO_ENABLE = no # Audio output
1313
ENCODER_ENABLE = yes
1414
OLED_ENABLE = yes
15-
OLED_DRIVER = SSD1306
1615

1716
SPLIT_KEYBOARD = yes

keyboards/basekeys/slice/rev1_rgb/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ COMMAND_ENABLE = no # Commands for debug and configuration
1212
NKRO_ENABLE = no # Enable N-Key Rollover
1313
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
1414
OLED_ENABLE = yes
15-
OLED_DRIVER = SSD1306 # Disable OLED driver.
1615

1716
LTO_ENABLE = yes

keyboards/bluebell/swoop/keymaps/kyek/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ LTO_ENABLE = no
66
EXTRAKEY_ENABLE = no
77

88
# ENCODER_ENABLE = no
9-
# OLED_DRIVER_ENABLE = no
109
# WPM_ENABLE = no
1110

1211
# Enable keyboard underlight functionality
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306

keyboards/bolsa/damapad/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
1212
AUDIO_ENABLE = no # Audio output
1313
ENCODER_ENABLE = yes
1414
OLED_ENABLE = yes
15-
OLED_DRIVER = SSD1306

keyboards/boston_meetup/2019/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ RGB_MATRIX_ENABLE = no
1414
HAPTIC_ENABLE = yes
1515
HAPTIC_DRIVER = drv2605l
1616
OLED_ENABLE = yes
17-
OLED_DRIVER = SSD1306

keyboards/buzzard/rev1/rules.mk

-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
OLED_DRIVER = SSD1306
2-
31
PS2_ENABLE = yes
42
PS2_DRIVER = interrupt

keyboards/cannonkeys/satisfaction75/rules.mk

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
1616
NKRO_ENABLE = yes # Enable N-Key Rollover
1717
ENCODER_ENABLE = yes
1818
OLED_ENABLE = yes
19-
OLED_DRIVER = SSD1306
2019
#BACKLIGHT_ENABLE = yes
2120

2221
DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1
23-

keyboards/ckeys/washington/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
1212
AUDIO_ENABLE = no # Audio output
1313
ENCODER_ENABLE = yes # Enable support for encoders
1414
OLED_ENABLE = yes
15-
OLED_DRIVER = SSD1306 # Enable support for OLED displays
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
SERIAL_DRIVER = vendor
2-
OLED_DRIVER = SSD1306
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
SERIAL_DRIVER = vendor
2-
OLED_DRIVER = SSD1306
-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
MOUSEKEY_ENABLE = yes
22
RGBLIGHT_ENABLE = yes
33
OLED_ENABLE = yes
4-
OLED_DRIVER = SSD1306
54
LTO_ENABLE = yes
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
RGBLIGHT_ENABLE = yes
22
OLED_ENABLE = yes
3-
OLED_DRIVER = SSD1306

keyboards/crkbd/keymaps/bermeo/rules.mk

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ RGB_MATRIX_ENABLE = yes
33
MOUSEKEY_ENABLE = no
44
NKRO_ENABLE = no
55
OLED_ENABLE = yes
6-
OLED_DRIVER = SSD1306
76
LTO_ENABLE = yes
87
SLEEP_LED_ENABLE = yes
98
WPM_ENABLE = yes
@@ -16,4 +15,4 @@ BOOTMAGIC_ENABLE = no
1615
COMBO_ENABLE = no
1716
AUDIO_ENABLE = no
1817
MIDI_ENABLE = no
19-
BLUETOOTH_ENABLE = no
18+
BLUETOOTH_ENABLE = no

keyboards/crkbd/keymaps/cameronjlarsen/rules.mk

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
BOOTMAGIC_ENABLE = no
22
BOOLOADER = atmel-dfu
33
OLED_ENABLE = yes
4-
OLED_DRIVER = SSD1306 # Enables the use of OLED displays
54
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
65
COMMAND_ENABLE = no # Disables the command feature
76
COMBO_ENABLE = yes
@@ -12,4 +11,4 @@ MIDI_ENABLE = no
1211
BLUETOOTH_ENABLE = no
1312
BACKLIGHT_ENABLE = no
1413
CAPS_WORD_ENABLE = yes
15-
CUSTOM_ONESHOT_ENABLE = yes
14+
CUSTOM_ONESHOT_ENABLE = yes

keyboards/crkbd/keymaps/colemad/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ SPLIT_KEYBOARD = yes
44
TAP_DANCE_ENABLE = yes
55
MOUSEKEY_ENABLE = no
66
OLED_ENABLE = yes
7-
OLED_DRIVER = SSD1306
87

98

109
# Link Time Optimization (Reduces compiled size)

keyboards/crkbd/keymaps/colemak_luna/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ RGBLIGHT_ENABLE = no
33
RGB_MATRIX_ENABLE = yes # Enable WS2812 RGB underlight.
44
VIA_ENABLE = yes # Enable VIA
55
OLED_ENABLE = yes
6-
OLED_DRIVER = SSD1306
76
LTO_ENABLE = yes
87
WPM_ENABLE = yes

keyboards/crkbd/keymaps/crkdves/rules.mk

-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ RGB_MATRIX_ENABLE = yes
33
MOUSEKEY_ENABLE = no
44
NKRO_ENABLE = yes
55
OLED_ENABLE = yes
6-
OLED_DRIVER = SSD1306
76
LTO_ENABLE = yes
8-

keyboards/crkbd/keymaps/crkqwes/rules.mk

-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ RGB_MATRIX_ENABLE = yes
33
MOUSEKEY_ENABLE = no
44
NKRO_ENABLE = yes
55
OLED_ENABLE = yes
6-
OLED_DRIVER = SSD1306
76
LTO_ENABLE = yes
8-

keyboards/crkbd/keymaps/devdev/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ MOUSEKEY_ENABLE = yes
22
EXTRAKEY_ENABLE = yes
33
RGBLIGHT_ENABLE = yes
44
OLED_ENABLE = yes
5-
OLED_DRIVER = SSD1306

keyboards/crkbd/keymaps/edvorakjp/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
1717
SWAP_HANDS_ENABLE = no # Enable one-hand typing
1818
TAP_DANCE_ENABLE = yes
1919
OLED_ENABLE = yes
20-
OLED_DRIVER = SSD1306
2120

2221
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
2322
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend

keyboards/crkbd/keymaps/gotham/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ EXTRAKEY_ENABLE = yes
33
AUDIO_ENABLE = yes
44
RGBLIGHT_ENABLE = yes
55
OLED_ENABLE = yes
6-
OLED_DRIVER = SSD1306
76
LTO_ENABLE = yes

keyboards/crkbd/keymaps/hvp/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ SRC += ./lib/rgb_state_reader.c \
1010
TAP_DANCE_ENABLE = yes
1111
EXTRAKEY_ENABLE = yes # Audio control and System control
1212
OLED_ENABLE = yes
13-
OLED_DRIVER = SSD1306
1413
# LOCAL_GLCDFONT = yes

keyboards/crkbd/keymaps/jarred/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
1717
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
1818
SWAP_HANDS_ENABLE = no # Enable one-hand typing
1919
OLED_ENABLE = yes
20-
OLED_DRIVER = SSD1306
2120

2221
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
2322
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend

keyboards/crkbd/keymaps/jpe230/rules.mk

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Shared rules for both of my Corne
22
OLED_ENABLE = yes
3-
OLED_DRIVER = SSD1306
43
VIA_ENABLE = yes
54
RGB_MATRIX_ENABLE = yes
65

@@ -22,4 +21,3 @@ else
2221
SRC += oled/avr/master/oled_master_handler.c \
2322
oled/avr/slave/oled_slave_handler.c
2423
endif
25-

keyboards/crkbd/keymaps/julian_turner/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
RGBLIGHT_ENABLE = yes
22

33
OLED_ENABLE = yes
4-
OLED_DRIVER = SSD1306
54
WPM_ENABLE = yes
65

76

keyboards/crkbd/keymaps/kidbrazil/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ MOUSEKEY_ENABLE = no
66
RGBLIGHT_ENABLE = no
77
RGB_MATRIX_ENABLE = yes
88
OLED_ENABLE = yes
9-
OLED_DRIVER = SSD1306
109

1110
# If you want to change the display of OLED, you need to change here
1211
SRC += logo_reader.c \

keyboards/crkbd/keymaps/madhatter/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306
32

43
# If you want to change the display of OLED, you need to change here
54
SRC += ./lib/rgb_state_reader.c \

keyboards/crkbd/keymaps/mcrown/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ MOUSEKEY_ENABLE = no # Mouse keys(+4700)
77
EXTRAKEY_ENABLE = no # Audio control and System control(+450)
88
RGB_MATRIX_ENABLE = yes # Enable RGB Matrix.
99
OLED_ENABLE = yes
10-
OLED_DRIVER = SSD1306
1110

1211
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
1312
SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend

keyboards/crkbd/keymaps/nimishgautam/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
RGB_MATRIX_ENABLE = yes
22
OLED_ENABLE = yes
3-
OLED_DRIVER = SSD1306
43
COMBO_ENABLE = yes
54
TAP_DANCE_ENABLE = yes # enable tap dance features
65
EXTRAKEY_ENABLE = no

keyboards/crkbd/keymaps/ninjonas/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
RGB_MATRIX_ENABLE = yes
22
MOUSEKEY_ENABLE = no
33
OLED_ENABLE = yes
4-
OLED_DRIVER = SSD1306
54
LTO_ENABLE = yes
65

76
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE

keyboards/crkbd/keymaps/oled_sample/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
#
66
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
77
OLED_ENABLE = yes
8-
OLED_DRIVER = SSD1306

keyboards/crkbd/keymaps/ollyhayes/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
SRC += oled.c
22

33
OLED_ENABLE = yes
4-
OLED_DRIVER = SSD1306
54

65
EXTRAKEY_ENABLE = yes
76
UNICODE_ENABLE = yes

keyboards/crkbd/keymaps/oo/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306

keyboards/crkbd/keymaps/rarick/rules.mk

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ BOOTLOADER = atmel-dfu
44
# Enable RGB matric
55
RGB_MATRIX_ENABLE = yes
66

7-
# Enable OLED driver
8-
OLED_DRIVER_ENABLE = yes
9-
107
# Enable media keys
118
EXTRAKEY_ENABLE = yes
129

keyboards/crkbd/keymaps/rjhilgefort/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ BOOTLOADER = atmel-dfu
55
EXTRAKEY_ENABLE = yes
66

77
OLED_ENABLE = yes
8-
OLED_DRIVER = SSD1306

keyboards/crkbd/keymaps/rmeli/rules.mk

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
OLED_ENABLE = yes
2-
OLED_DRIVER = SSD1306
32

43
TAP_DANCE_ENABLE = yes
54
AUTO_SHIFT_ENABLE = no // disable auto-shift with home row mods

0 commit comments

Comments
 (0)