Migrate i2c EEPROM_DRIVER to info.json (#22013)

This commit is contained in:
Joel Challis 2023-09-14 20:50:07 +01:00 committed by GitHub
parent 97464e470c
commit fe00bb9746
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 66 additions and 47 deletions

View file

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

View file

@ -12,6 +12,3 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
LTO_ENABLE = no LTO_ENABLE = no
ENCODER_ENABLE = yes ENCODER_ENABLE = yes
EEPROM_DRIVER = i2c

View file

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

View file

@ -9,5 +9,3 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -12,7 +12,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = yes # Audio output AUDIO_ENABLE = yes # Audio output
ENCODER_ENABLE = yes # Rotary Encoder ENCODER_ENABLE = yes # Rotary Encoder
# Use I2C connected External EEPROM
EEPROM_DRIVER = i2c
LTO_ENABLE = yes LTO_ENABLE = yes

View file

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

View file

@ -10,5 +10,3 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

View file

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

View file

@ -10,5 +10,3 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

View file

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

View file

@ -10,5 +10,3 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

View file

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

View file

@ -14,7 +14,6 @@ AUDIO_DRIVER = dac_additive
CUSTOM_MATRIX = lite CUSTOM_MATRIX = lite
SWAP_HANDS_ENABLE = yes SWAP_HANDS_ENABLE = yes
RGB_MATRIX_ENABLE = yes RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = i2c
#project specific files #project specific files
SRC += matrix.c SRC += matrix.c

View file

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

View file

@ -11,6 +11,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
LTO_ENABLE = no LTO_ENABLE = no
ENCODER_ENABLE = no ENCODER_ENABLE = no
EEPROM_DRIVER = i2c
BACKLIGHT_ENABLE = yes BACKLIGHT_ENABLE = yes

View file

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

View file

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

View file

@ -20,6 +20,9 @@
"rows": ["C3", "C2", "C1", "C0", "B14", "A7"] "rows": ["C3", "C2", "C1", "C0", "B14", "A7"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"encoder": { "encoder": {
"rotary": [ "rotary": [
{"pin_a": "B10", "pin_b": "B12", "resolution": 2} {"pin_a": "B10", "pin_b": "B12", "resolution": 2}

View file

@ -12,6 +12,3 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes ENCODER_ENABLE = yes
LTO_ENABLE = no LTO_ENABLE = no
EEPROM_DRIVER = i2c

View file

@ -8,6 +8,9 @@
"rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"] "rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu" "bootloader": "stm32-dfu"
} }

View file

@ -9,5 +9,3 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover NKRO_ENABLE = yes # Enable N-Key Rollover
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

View file

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

View file

@ -11,8 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
EEPROM_DRIVER = i2c
RGB_MATRIX_ENABLE = yes RGB_MATRIX_ENABLE = yes
COMMON_VPATH += $(DRIVER_PATH)/issi COMMON_VPATH += $(DRIVER_PATH)/issi

View file

@ -16,6 +16,9 @@
"rows": ["A5", "A6", "B0", "A7", "A8", "B1", "B4", "B5", "A15", "B3", "A13", "A14"] "rows": ["A5", "A6", "B0", "A7", "A8", "B1", "B4", "B5", "A15", "B3", "A13", "A14"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32L422", "processor": "STM32L422",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layout_aliases": { "layout_aliases": {

View file

@ -10,8 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c
RGB_MATRIX_ENABLE = yes RGB_MATRIX_ENABLE = yes
COMMON_VPATH += $(DRIVER_PATH)/issi COMMON_VPATH += $(DRIVER_PATH)/issi

View file

@ -14,6 +14,9 @@
"rows": ["B5", "B6", "B7", "A1", "A0", "C13", "B0", "A7", "A5", "A4", "A3", "A2"] "rows": ["B5", "B6", "B7", "A1", "A0", "C13", "B0", "A7", "A5", "A4", "A3", "A2"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"indicators": { "indicators": {
"caps_lock": "A6", "caps_lock": "A6",
"num_lock": "A14", "num_lock": "A14",

View file

@ -11,8 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c
# Save hid interface # Save hid interface
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes

View file

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

View file

@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c
# Save hid interface # Save hid interface
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes

View file

@ -20,6 +20,9 @@
"rows": ["B11", "B10", "A3", "A1", "A2"] "rows": ["B11", "B10", "A3", "A1", "A2"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"processor": "STM32L422", "processor": "STM32L422",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"community_layouts": ["alice_split_bs"], "community_layouts": ["alice_split_bs"],

View file

@ -12,7 +12,6 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes RGB_MATRIX_ENABLE = yes
RGB_MATRIX_CUSTOM_KB = yes RGB_MATRIX_CUSTOM_KB = yes
EEPROM_DRIVER = i2c
OPT = 2 OPT = 2
LTO_ENABLE = yes LTO_ENABLE = yes

View file

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

View file

@ -10,6 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

View file

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

View file

@ -10,5 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

View file

@ -17,6 +17,9 @@
"processor": "STM32L422", "processor": "STM32L422",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "B1", "A8", "A9", "B5", "A6", "C14", "C15", "A0", "A5", "A4", "A3", "A2", "A1"], "cols": ["B0", "B1", "A8", "A9", "B5", "A6", "C14", "C15", "A0", "A5", "A4", "A3", "A2", "A1"],
"rows": ["B4", "B3", "A15", "A14", "A7"] "rows": ["B4", "B3", "A15", "A14", "A7"]

View file

@ -10,8 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c
RGBLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes
LTO_ENABLE = yes LTO_ENABLE = yes

View file

@ -17,6 +17,9 @@
"processor": "STM32L422", "processor": "STM32L422",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"eeprom": {
"driver": "i2c"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "B1", "A8", "A9", "B5", "A6", "C14", "C15", "A0", "A5", "A4", "A3", "A2", "A1"], "cols": ["B0", "B1", "A8", "A9", "B5", "A6", "C14", "C15", "A0", "A5", "A4", "A3", "A2", "A1"],
"rows": ["B4", "B3", "A15", "A14", "A7"] "rows": ["B4", "B3", "A15", "A14", "A7"]

View file

@ -10,8 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c
RGBLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes
LTO_ENABLE = yes LTO_ENABLE = yes