Migrate spi_flash WEAR_LEVELING_DRIVER to info.json (#21978)
This commit is contained in:
parent
06cec720dd
commit
909054c357
38 changed files with 122 additions and 55 deletions
|
@ -26,6 +26,12 @@
|
|||
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"indicators": {
|
||||
"num_lock": "A15",
|
||||
"caps_lock": "C10"
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -26,6 +26,12 @@
|
|||
"rows": [ "B15", "C6", "C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "is31fl3733",
|
||||
"max_brightness": 180,
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -26,6 +26,12 @@
|
|||
"rows": ["C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "is31fl3733",
|
||||
"max_brightness": 180,
|
||||
|
|
|
@ -1,6 +1 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
"usb": {
|
||||
"pid": "0xAC15"
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "custom"
|
||||
},
|
||||
|
|
|
@ -26,10 +26,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
# Wear-levelling driver
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
||||
# Custom RGB matrix handling
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
"usb": {
|
||||
"pid": "0xAC18"
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "custom"
|
||||
},
|
||||
|
|
|
@ -26,10 +26,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
# Wear-levelling driver
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
||||
# Custom RGB matrix handling
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
|
||||
|
|
|
@ -10,7 +10,10 @@
|
|||
"suspend_wakeup_delay": 400
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling"
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"processor": "WB32FQ95",
|
||||
"bootloader": "wb32-dfu",
|
||||
|
|
|
@ -1 +1 @@
|
|||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -19,6 +19,12 @@
|
|||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10", "B11", "B12", "B13"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"processor": "WB32F3G71",
|
||||
"bootloader": "wb32-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -11,5 +11,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality.
|
|||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow.
|
||||
AUDIO_ENABLE = no # Audio output.
|
||||
RGB_MATRIX_ENABLE = yes # Enable RGB matrix effects.
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
|
|
@ -19,6 +19,12 @@
|
|||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10", "B11", "B12", "B13"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"processor": "WB32F3G71",
|
||||
"bootloader": "wb32-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -11,5 +11,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality.
|
|||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow.
|
||||
AUDIO_ENABLE = no # Audio output.
|
||||
RGB_MATRIX_ENABLE = yes # Enable RGB matrix effects.
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
|
|
@ -8,6 +8,12 @@
|
|||
"pid": "0x5088",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A2", "pin_b": "A1"}
|
||||
|
|
|
@ -16,9 +16,6 @@ MIDI_ENABLE = yes
|
|||
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
||||
LTO_ENABLE = yes
|
||||
|
||||
SRC += analog.c \
|
||||
|
|
|
@ -16,6 +16,12 @@
|
|||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C15", "pin_b": "C14"}
|
||||
|
|
|
@ -12,5 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
|
|
@ -16,6 +16,12 @@
|
|||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C15", "pin_b": "C14"}
|
||||
|
|
|
@ -15,5 +15,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
|||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
|
|
@ -17,6 +17,12 @@
|
|||
"rows": ["B15"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A1"
|
||||
},
|
||||
|
|
|
@ -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
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
|
|
@ -20,6 +20,12 @@
|
|||
"rows": ["C12", "C10", "A10", "A8", "C8", "C9"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"community_layouts": ["tkl_ansi"],
|
||||
"layouts": {
|
||||
"LAYOUT_tkl_ansi": {
|
||||
|
|
|
@ -32,7 +32,3 @@ RGB_MATRIX_ENABLE = yes
|
|||
# OLED enabled
|
||||
OLED_ENABLE = yes
|
||||
WPM_ENABLE = yes
|
||||
|
||||
# Wear-levelling driver
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
|
|
@ -18,6 +18,12 @@
|
|||
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B14", "pin_b": "B13", "resolution": 4}
|
||||
|
|
|
@ -14,6 +14,4 @@ AUDIO_ENABLE = no # Audio output
|
|||
DIP_SWITCH_ENABLE = yes # DPI Switch
|
||||
ENCODER_ENABLE = yes
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
#RGB_MATRIX_CUSTOM_USER = yes #Add turnoff LED
|
||||
|
|
|
@ -25,6 +25,13 @@
|
|||
"cols": ["C1","C2","C3","A0","A1","A2","A3","A4","A5","A6","A7","C4"],
|
||||
"rows": ["C6", "C7", "C8", "C9"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "is31fl3733",
|
||||
"max_brightness": 200,
|
||||
|
@ -99,7 +106,6 @@
|
|||
{ "flags": 4, "matrix": [3, 11], "x": 224, "y": 64}
|
||||
]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -26,6 +26,12 @@
|
|||
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B14", "pin_b": "B13"}
|
||||
|
|
|
@ -1,6 +1 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -25,6 +25,12 @@
|
|||
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"indicators": {
|
||||
"num_lock":"A15",
|
||||
"caps_lock": "C10"
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -25,6 +25,12 @@
|
|||
"rows": ["C6", "C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "is31fl3733",
|
||||
"max_brightness": 200,
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
|
@ -10,6 +10,12 @@
|
|||
"dynamic_keymap": {
|
||||
"layer_count": 13
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
"driver": "spi_flash"
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
EEPROM_DRIVER = wear_leveling
|
||||
WEAR_LEVELING_DRIVER = spi_flash
|
||||
# This file intentionally left blank
|
||||
|
|
Loading…
Reference in a new issue