Browse Source

Migrate i2c EEPROM_DRIVER to info.json (#22013)

Joel Challis 2 năm trước cách đây
mục cha
commit
fe00bb9746
44 tập tin đã thay đổi với 66 bổ sung47 xóa
  1. 3 0
      keyboards/acheron/shark/beta/info.json
  2. 0 3
      keyboards/acheron/shark/beta/rules.mk
  3. 3 0
      keyboards/aeboards/constellation/rev2/info.json
  4. 0 2
      keyboards/aeboards/constellation/rev2/rules.mk
  5. 3 0
      keyboards/geonworks/frogmini/fmh/info.json
  6. 0 3
      keyboards/geonworks/frogmini/fmh/rules.mk
  7. 3 0
      keyboards/geonworks/frogmini/fms/info.json
  8. 0 3
      keyboards/geonworks/frogmini/fms/rules.mk
  9. 3 0
      keyboards/jones/v1/info.json
  10. 0 3
      keyboards/jones/v1/rules.mk
  11. 3 0
      keyboards/mode/m65ha_alpha/info.json
  12. 0 2
      keyboards/mode/m65ha_alpha/rules.mk
  13. 3 0
      keyboards/mode/m65hi_alpha/info.json
  14. 0 2
      keyboards/mode/m65hi_alpha/rules.mk
  15. 3 0
      keyboards/mode/m65s/info.json
  16. 0 2
      keyboards/mode/m65s/rules.mk
  17. 3 0
      keyboards/moonlander/info.json
  18. 0 1
      keyboards/moonlander/rules.mk
  19. 3 0
      keyboards/smithrune/iron165r2/f411/info.json
  20. 0 2
      keyboards/smithrune/iron165r2/f411/rules.mk
  21. 3 0
      keyboards/tkw/grandiceps/rev2/info.json
  22. 0 2
      keyboards/tkw/grandiceps/rev2/rules.mk
  23. 3 0
      keyboards/viendi8l/info.json
  24. 0 3
      keyboards/viendi8l/rules.mk
  25. 3 0
      keyboards/xelus/kangaroo/rev1/info.json
  26. 0 2
      keyboards/xelus/kangaroo/rev1/rules.mk
  27. 3 0
      keyboards/xelus/pachi/rgb/rev1/info.json
  28. 0 2
      keyboards/xelus/pachi/rgb/rev1/rules.mk
  29. 3 0
      keyboards/xelus/pachi/rgb/rev2/info.json
  30. 0 2
      keyboards/xelus/pachi/rgb/rev2/rules.mk
  31. 3 0
      keyboards/xelus/rs108/info.json
  32. 0 2
      keyboards/xelus/rs108/rules.mk
  33. 3 0
      keyboards/xelus/rs60/rev2_0/info.json
  34. 0 1
      keyboards/xelus/rs60/rev2_0/rules.mk
  35. 3 0
      keyboards/xelus/valor/rev2/info.json
  36. 0 1
      keyboards/xelus/valor/rev2/rules.mk
  37. 3 0
      keyboards/xelus/valor_frl_tkl/rev1/info.json
  38. 0 3
      keyboards/xelus/valor_frl_tkl/rev1/rules.mk
  39. 3 0
      keyboards/xelus/xs108/info.json
  40. 0 2
      keyboards/xelus/xs108/rules.mk
  41. 3 0
      keyboards/xelus/xs60/hotswap/info.json
  42. 0 2
      keyboards/xelus/xs60/hotswap/rules.mk
  43. 3 0
      keyboards/xelus/xs60/soldered/info.json
  44. 0 2
      keyboards/xelus/xs60/soldered/rules.mk

+ 3 - 0
keyboards/acheron/shark/beta/info.json

@@ -9,6 +9,9 @@
         "rows": ["A8", "B14", "A4", "A3"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+    },
     "encoder": {
         "rotary": [
             {"pin_a": "C15", "pin_b": "C14"}

+ 0 - 3
keyboards/acheron/shark/beta/rules.mk

@@ -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 - 0
keyboards/aeboards/constellation/rev2/info.json

@@ -13,6 +13,9 @@
         "rows": ["B15", "A14", "A2", "B13", "B14"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+    },
     "processor": "STM32L422",
     "bootloader": "stm32-dfu",
     "layout_aliases": {

+ 0 - 2
keyboards/aeboards/constellation/rev2/rules.mk

@@ -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 - 0
keyboards/geonworks/frogmini/fmh/info.json

@@ -13,6 +13,9 @@
         "rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+    },
     "processor": "STM32F401",
     "bootloader": "stm32-dfu",
     "layout_aliases": {

+ 0 - 3
keyboards/geonworks/frogmini/fmh/rules.mk

@@ -13,6 +13,3 @@ LTO_ENABLE = no
 ENCODER_ENABLE = no
 
 BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
-
-EEPROM_DRIVER = i2c
-

+ 3 - 0
keyboards/geonworks/frogmini/fms/info.json

@@ -13,6 +13,9 @@
         "rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+    },
     "backlight": {
         "pin": "A10",
         "levels": 20

+ 0 - 3
keyboards/geonworks/frogmini/fms/rules.mk

@@ -13,6 +13,3 @@ LTO_ENABLE = no
 ENCODER_ENABLE = no
 
 BACKLIGHT_ENABLE = yes     # Enable keyboard backlight functionality
-
-EEPROM_DRIVER = i2c
-

+ 3 - 0
keyboards/jones/v1/info.json

@@ -21,6 +21,9 @@
     "pin": "F1"
   },
   "diode_direction": "COL2ROW",
+  "eeprom": {
+    "driver": "i2c"
+  },
   "encoder": {
     "rotary": [
       {"pin_a": "F5", "pin_b": "F4"},

+ 0 - 3
keyboards/jones/v1/rules.mk

@@ -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 - 0
keyboards/mode/m65ha_alpha/info.json

@@ -13,6 +13,9 @@
     "rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
   },
   "diode_direction": "COL2ROW",
+  "eeprom": {
+    "driver": "i2c"
+  },
   "indicators": {
     "caps_lock": "A6"
   },

+ 0 - 2
keyboards/mode/m65ha_alpha/rules.mk

@@ -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 - 0
keyboards/mode/m65hi_alpha/info.json

@@ -13,6 +13,9 @@
     "rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
   },
   "diode_direction": "COL2ROW",
+  "eeprom": {
+    "driver": "i2c"
+  },
   "indicators": {
     "caps_lock": "A6"
   },

+ 0 - 2
keyboards/mode/m65hi_alpha/rules.mk

@@ -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 - 0
keyboards/mode/m65s/info.json

@@ -16,6 +16,9 @@
         "rows": ["A3", "B14", "B15", "C9", "C6", "C11"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+      },
     "indicators": {
         "caps_lock": "C8"
     },

+ 0 - 2
keyboards/mode/m65s/rules.mk

@@ -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 - 0
keyboards/moonlander/info.json

@@ -8,6 +8,9 @@
         "pid": "0x1969",
         "device_version": "0.0.1"
     },
+    "eeprom": {
+        "driver": "i2c"
+    },
     "rgb_matrix": {
         "driver": "is31fl3731"
     },

+ 0 - 1
keyboards/moonlander/rules.mk

@@ -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

+ 3 - 0
keyboards/smithrune/iron165r2/f411/info.json

@@ -1,4 +1,7 @@
 {
+    "eeprom": {
+        "driver": "i2c"
+    },
     "backlight": {
         "pin": "A6",
         "levels": 20,

+ 0 - 2
keyboards/smithrune/iron165r2/f411/rules.mk

@@ -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 - 0
keyboards/tkw/grandiceps/rev2/info.json

@@ -2,5 +2,8 @@
     "keyboard_name": "Grandiceps Split rev2",
     "usb": {
         "device_version": "0.0.2"
+    },
+    "eeprom": {
+        "driver": "i2c"
     }
 }

+ 0 - 2
keyboards/tkw/grandiceps/rev2/rules.mk

@@ -1,4 +1,2 @@
-EEPROM_DRIVER = i2c
-
 POINTING_DEVICE_ENABLE = yes
 POINTING_DEVICE_DRIVER = pimoroni_trackball

+ 3 - 0
keyboards/viendi8l/info.json

@@ -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}

+ 0 - 3
keyboards/viendi8l/rules.mk

@@ -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 - 0
keyboards/xelus/kangaroo/rev1/info.json

@@ -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"
 }

+ 0 - 2
keyboards/xelus/kangaroo/rev1/rules.mk

@@ -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 - 0
keyboards/xelus/pachi/rgb/rev1/info.json

@@ -17,6 +17,9 @@
         "rows": ["B14", "B13", "B12", "B2", "A8", "B15"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+    },
     "processor": "STM32L422",
     "bootloader": "stm32-dfu",
     "layout_aliases": {

+ 0 - 2
keyboards/xelus/pachi/rgb/rev1/rules.mk

@@ -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

+ 3 - 0
keyboards/xelus/pachi/rgb/rev2/info.json

@@ -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": {

+ 0 - 2
keyboards/xelus/pachi/rgb/rev2/rules.mk

@@ -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

+ 3 - 0
keyboards/xelus/rs108/info.json

@@ -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",

+ 0 - 2
keyboards/xelus/rs108/rules.mk

@@ -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 - 0
keyboards/xelus/rs60/rev2_0/info.json

@@ -8,6 +8,9 @@
         "rows": ["B15", "B14", "B12", "B1", "B0"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+    },
     "indicators": {
         "caps_lock": "A1"
     },

+ 0 - 1
keyboards/xelus/rs60/rev2_0/rules.mk

@@ -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

+ 3 - 0
keyboards/xelus/valor/rev2/info.json

@@ -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"],

+ 0 - 1
keyboards/xelus/valor/rev2/rules.mk

@@ -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 - 0
keyboards/xelus/valor_frl_tkl/rev1/info.json

@@ -8,6 +8,9 @@
         "rows": ["A15", "A14", "A1", "B3", "B4"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+    },
     "processor": "STM32F072",
     "bootloader": "stm32-dfu"
 }

+ 0 - 3
keyboards/xelus/valor_frl_tkl/rev1/rules.mk

@@ -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 - 0
keyboards/xelus/xs108/info.json

@@ -13,6 +13,9 @@
         "rows": ["C14", "C13", "A10", "A3", "A1", "A0"]
     },
     "diode_direction": "COL2ROW",
+    "eeprom": {
+        "driver": "i2c"
+    },
     "indicators": {
         "caps_lock": "A2",
         "num_lock": "B7",

+ 0 - 2
keyboards/xelus/xs108/rules.mk

@@ -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 - 0
keyboards/xelus/xs60/hotswap/info.json

@@ -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"]

+ 0 - 2
keyboards/xelus/xs60/hotswap/rules.mk

@@ -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

+ 3 - 0
keyboards/xelus/xs60/soldered/info.json

@@ -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"]

+ 0 - 2
keyboards/xelus/xs60/soldered/rules.mk

@@ -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