diff options
author | Joel Challis <git@zvecr.com> | 2023-09-12 06:47:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 06:47:12 +0100 |
commit | 909054c35772ae62d6d2de0cefd1bef18762e754 (patch) | |
tree | 10a7be9d4ef2e3b6962e108beea3f29514ef0f4c /keyboards/gmmk/pro/rev2 | |
parent | 06cec720dde5e4c9acfb476cbdf3e098a2172eee (diff) |
Migrate spi_flash WEAR_LEVELING_DRIVER to info.json (#21978)
Diffstat (limited to 'keyboards/gmmk/pro/rev2')
-rw-r--r-- | keyboards/gmmk/pro/rev2/ansi/info.json | 6 | ||||
-rw-r--r-- | keyboards/gmmk/pro/rev2/ansi/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/gmmk/pro/rev2/iso/info.json | 6 | ||||
-rw-r--r-- | keyboards/gmmk/pro/rev2/iso/rules.mk | 2 |
4 files changed, 12 insertions, 4 deletions
diff --git a/keyboards/gmmk/pro/rev2/ansi/info.json b/keyboards/gmmk/pro/rev2/ansi/info.json index 082b5f8656..44151f874a 100644 --- a/keyboards/gmmk/pro/rev2/ansi/info.json +++ b/keyboards/gmmk/pro/rev2/ansi/info.json @@ -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"} diff --git a/keyboards/gmmk/pro/rev2/ansi/rules.mk b/keyboards/gmmk/pro/rev2/ansi/rules.mk index 2f50d82c82..6d23fe350a 100644 --- a/keyboards/gmmk/pro/rev2/ansi/rules.mk +++ b/keyboards/gmmk/pro/rev2/ansi/rules.mk @@ -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 diff --git a/keyboards/gmmk/pro/rev2/iso/info.json b/keyboards/gmmk/pro/rev2/iso/info.json index a4aef24e65..bb76da4493 100644 --- a/keyboards/gmmk/pro/rev2/iso/info.json +++ b/keyboards/gmmk/pro/rev2/iso/info.json @@ -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"} diff --git a/keyboards/gmmk/pro/rev2/iso/rules.mk b/keyboards/gmmk/pro/rev2/iso/rules.mk index db00e4c84c..46eda64be7 100644 --- a/keyboards/gmmk/pro/rev2/iso/rules.mk +++ b/keyboards/gmmk/pro/rev2/iso/rules.mk @@ -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 |