Migrate spi_flash WEAR_LEVELING_DRIVER to info.json (#21978)

This commit is contained in:
Joel Challis 2023-09-12 06:47:12 +01:00 committed by GitHub
parent 06cec720dd
commit 909054c357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 122 additions and 55 deletions

View file

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

View file

@ -1,2 +1 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank

View file

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

View file

@ -1,3 +1 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank

View file

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

View file

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

View file

@ -3,6 +3,12 @@
"usb": {
"pid": "0xAC15"
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
"driver": "spi_flash"
}
},
"rgb_matrix": {
"driver": "custom"
},

View file

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

View file

@ -3,6 +3,12 @@
"usb": {
"pid": "0xAC18"
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
"driver": "spi_flash"
}
},
"rgb_matrix": {
"driver": "custom"
},

View file

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

View file

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

View file

@ -1 +1 @@
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -17,6 +17,12 @@
"rows": ["B15"]
},
"diode_direction": "ROW2COL",
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
"driver": "spi_flash"
}
},
"ws2812": {
"pin": "A1"
},

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,2 +1 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank

View file

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

View file

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

View file

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

View file

@ -1,2 +1 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank

View file

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

View file

@ -1,2 +1 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank

View file

@ -10,6 +10,12 @@
"dynamic_keymap": {
"layer_count": 13
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
"driver": "spi_flash"
}
},
"features": {
"bootmagic": true,
"command": false,

View file

@ -1,2 +1 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = spi_flash
# This file intentionally left blank