Skip to content

Commit

Permalink
Migrate i2c EEPROM_DRIVER to info.json (qmk#22013)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and zgagnon committed Dec 15, 2023
1 parent e6f65e2 commit 3636cc7
Show file tree
Hide file tree
Showing 44 changed files with 66 additions and 47 deletions.
3 changes: 3 additions & 0 deletions keyboards/acheron/shark/beta/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"rows": ["A8", "B14", "A4", "A3"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"encoder": {
"rotary": [
{"pin_a": "C15", "pin_b": "C14"}
Expand Down
3 changes: 0 additions & 3 deletions keyboards/acheron/shark/beta/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
LTO_ENABLE = no
ENCODER_ENABLE = yes

EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/aeboards/constellation/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["B15", "A14", "A2", "B13", "B14"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32L422",
"bootloader": "stm32-dfu",
"layout_aliases": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/aeboards/constellation/rev2/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output

EEPROM_DRIVER = i2c
3 changes: 3 additions & 0 deletions keyboards/geonworks/frogmini/fmh/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"layout_aliases": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/geonworks/frogmini/fmh/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ LTO_ENABLE = no
ENCODER_ENABLE = no

BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality

EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/geonworks/frogmini/fms/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"backlight": {
"pin": "A10",
"levels": 20
Expand Down
3 changes: 0 additions & 3 deletions keyboards/geonworks/frogmini/fms/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ LTO_ENABLE = no
ENCODER_ENABLE = no

BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality

EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/jones/v1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"pin": "F1"
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"encoder": {
"rotary": [
{"pin_a": "F5", "pin_b": "F4"},
Expand Down
3 changes: 0 additions & 3 deletions keyboards/jones/v1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = yes # Audio output
ENCODER_ENABLE = yes # Rotary Encoder

# Use I2C connected External EEPROM
EEPROM_DRIVER = i2c

LTO_ENABLE = yes
3 changes: 3 additions & 0 deletions keyboards/mode/m65ha_alpha/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "A6"
},
Expand Down
2 changes: 0 additions & 2 deletions keyboards/mode/m65ha_alpha/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/mode/m65hi_alpha/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "A6"
},
Expand Down
2 changes: 0 additions & 2 deletions keyboards/mode/m65hi_alpha/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/mode/m65s/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"rows": ["A3", "B14", "B15", "C9", "C6", "C11"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "C8"
},
Expand Down
2 changes: 0 additions & 2 deletions keyboards/mode/m65s/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/moonlander/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"pid": "0x1969",
"device_version": "0.0.1"
},
"eeprom": {
"driver": "i2c"
},
"rgb_matrix": {
"driver": "is31fl3731"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/moonlander/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ AUDIO_DRIVER = dac_additive
CUSTOM_MATRIX = lite
SWAP_HANDS_ENABLE = yes
RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = i2c

#project specific files
SRC += matrix.c
Expand Down
3 changes: 3 additions & 0 deletions keyboards/smithrune/iron165r2/f411/info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"eeprom": {
"driver": "i2c"
},
"backlight": {
"pin": "A6",
"levels": 20,
Expand Down
2 changes: 0 additions & 2 deletions keyboards/smithrune/iron165r2/f411/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
LTO_ENABLE = no
ENCODER_ENABLE = no
EEPROM_DRIVER = i2c
BACKLIGHT_ENABLE = yes

3 changes: 3 additions & 0 deletions keyboards/tkw/grandiceps/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"keyboard_name": "Grandiceps Split rev2",
"usb": {
"device_version": "0.0.2"
},
"eeprom": {
"driver": "i2c"
}
}
2 changes: 0 additions & 2 deletions keyboards/tkw/grandiceps/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
EEPROM_DRIVER = i2c

POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
3 changes: 3 additions & 0 deletions keyboards/viendi8l/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"rows": ["C3", "C2", "C1", "C0", "B14", "A7"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"encoder": {
"rotary": [
{"pin_a": "B10", "pin_b": "B12", "resolution": 2}
Expand Down
3 changes: 0 additions & 3 deletions keyboards/viendi8l/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
LTO_ENABLE = no

EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/xelus/kangaroo/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu"
}
2 changes: 0 additions & 2 deletions keyboards/xelus/kangaroo/rev1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/xelus/pachi/rgb/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"rows": ["B14", "B13", "B12", "B2", "A8", "B15"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32L422",
"bootloader": "stm32-dfu",
"layout_aliases": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/xelus/pachi/rgb/rev1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches

EEPROM_DRIVER = i2c

RGB_MATRIX_ENABLE = yes

COMMON_VPATH += $(DRIVER_PATH)/issi
Expand Down
3 changes: 3 additions & 0 deletions keyboards/xelus/pachi/rgb/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"rows": ["A5", "A6", "B0", "A7", "A8", "B1", "B4", "B5", "A15", "B3", "A13", "A14"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32L422",
"bootloader": "stm32-dfu",
"layout_aliases": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/xelus/pachi/rgb/rev2/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output

EEPROM_DRIVER = i2c

RGB_MATRIX_ENABLE = yes

COMMON_VPATH += $(DRIVER_PATH)/issi
Expand Down
3 changes: 3 additions & 0 deletions keyboards/xelus/rs108/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"rows": ["B5", "B6", "B7", "A1", "A0", "C13", "B0", "A7", "A5", "A4", "A3", "A2"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "A6",
"num_lock": "A14",
Expand Down
2 changes: 0 additions & 2 deletions keyboards/xelus/rs108/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

EEPROM_DRIVER = i2c

# Save hid interface
KEYBOARD_SHARED_EP = yes

3 changes: 3 additions & 0 deletions keyboards/xelus/rs60/rev2_0/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"rows": ["B15", "B14", "B12", "B1", "B0"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "A1"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/xelus/rs60/rev2_0/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

# Save hid interface
KEYBOARD_SHARED_EP = yes
Expand Down
3 changes: 3 additions & 0 deletions keyboards/xelus/valor/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"rows": ["B11", "B10", "A3", "A1", "A2"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32L422",
"bootloader": "stm32-dfu",
"community_layouts": ["alice_split_bs"],
Expand Down
1 change: 0 additions & 1 deletion keyboards/xelus/valor/rev2/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_CUSTOM_KB = yes
EEPROM_DRIVER = i2c

OPT = 2
LTO_ENABLE = yes
3 changes: 3 additions & 0 deletions keyboards/xelus/valor_frl_tkl/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"rows": ["A15", "A14", "A1", "B3", "B4"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu"
}
3 changes: 0 additions & 3 deletions keyboards/xelus/valor_frl_tkl/rev1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/xelus/xs108/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["C14", "C13", "A10", "A3", "A1", "A0"]
},
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"indicators": {
"caps_lock": "A2",
"num_lock": "B7",
Expand Down
2 changes: 0 additions & 2 deletions keyboards/xelus/xs108/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

3 changes: 3 additions & 0 deletions keyboards/xelus/xs60/hotswap/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"processor": "STM32L422",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"matrix_pins": {
"cols": ["B0", "B1", "A8", "A9", "B5", "A6", "C14", "C15", "A0", "A5", "A4", "A3", "A2", "A1"],
"rows": ["B4", "B3", "A15", "A14", "A7"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/xelus/xs60/hotswap/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output

EEPROM_DRIVER = i2c

RGBLIGHT_ENABLE = yes

LTO_ENABLE = yes
Expand Down
3 changes: 3 additions & 0 deletions keyboards/xelus/xs60/soldered/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"processor": "STM32L422",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"matrix_pins": {
"cols": ["B0", "B1", "A8", "A9", "B5", "A6", "C14", "C15", "A0", "A5", "A4", "A3", "A2", "A1"],
"rows": ["B4", "B3", "A15", "A14", "A7"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/xelus/xs60/soldered/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output

EEPROM_DRIVER = i2c

RGBLIGHT_ENABLE = yes

LTO_ENABLE = yes
Expand Down

0 comments on commit 3636cc7

Please sign in to comment.