mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-24 02:05:01 +06:00
Migrate i2c EEPROM_DRIVER to info.json (#22013)
This commit is contained in:
parent
97464e470c
commit
fe00bb9746
@ -9,6 +9,9 @@
|
||||
"rows": ["A8", "B14", "A4", "A3"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C15", "pin_b": "C14"}
|
||||
|
@ -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
|
||||
|
||||
|
@ -13,6 +13,9 @@
|
||||
"rows": ["B15", "A14", "A2", "B13", "B14"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"processor": "STM32L422",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layout_aliases": {
|
||||
|
@ -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
|
||||
|
@ -13,6 +13,9 @@
|
||||
"rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layout_aliases": {
|
||||
|
@ -13,6 +13,3 @@ LTO_ENABLE = no
|
||||
ENCODER_ENABLE = no
|
||||
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
|
||||
EEPROM_DRIVER = i2c
|
||||
|
||||
|
@ -13,6 +13,9 @@
|
||||
"rows": ["A3", "A2", "A1", "B8", "A7", "C0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A10",
|
||||
"levels": 20
|
||||
|
@ -13,6 +13,3 @@ LTO_ENABLE = no
|
||||
ENCODER_ENABLE = no
|
||||
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
|
||||
EEPROM_DRIVER = i2c
|
||||
|
||||
|
@ -21,6 +21,9 @@
|
||||
"pin": "F1"
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "F5", "pin_b": "F4"},
|
||||
|
@ -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
|
||||
|
@ -13,6 +13,9 @@
|
||||
"rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A6"
|
||||
},
|
||||
|
@ -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
|
||||
|
||||
|
@ -13,6 +13,9 @@
|
||||
"rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A6"
|
||||
},
|
||||
|
@ -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
|
||||
|
||||
|
@ -16,6 +16,9 @@
|
||||
"rows": ["A3", "B14", "B15", "C9", "C6", "C11"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C8"
|
||||
},
|
||||
|
@ -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
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
"pid": "0x1969",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "is31fl3731"
|
||||
},
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,7 @@
|
||||
{
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "A6",
|
||||
"levels": 20,
|
||||
|
@ -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
|
||||
|
||||
|
@ -2,5 +2,8 @@
|
||||
"keyboard_name": "Grandiceps Split rev2",
|
||||
"usb": {
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,2 @@
|
||||
EEPROM_DRIVER = i2c
|
||||
|
||||
POINTING_DEVICE_ENABLE = yes
|
||||
POINTING_DEVICE_DRIVER = pimoroni_trackball
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
@ -17,6 +17,9 @@
|
||||
"rows": ["B14", "B13", "B12", "B2", "A8", "B15"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"processor": "STM32L422",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layout_aliases": {
|
||||
|
@ -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
|
||||
|
@ -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": {
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
||||
|
@ -8,6 +8,9 @@
|
||||
"rows": ["B15", "B14", "B12", "B1", "B0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A1"
|
||||
},
|
||||
|
@ -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
|
||||
|
@ -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"],
|
||||
|
@ -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
|
||||
|
@ -8,6 +8,9 @@
|
||||
"rows": ["A15", "A14", "A1", "B3", "B4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu"
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
@ -13,6 +13,9 @@
|
||||
"rows": ["C14", "C13", "A10", "A3", "A1", "A0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A2",
|
||||
"num_lock": "B7",
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"]
|
||||
|
@ -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
|
||||
|
@ -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"]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user