summaryrefslogtreecommitdiff
path: root/keyboards/inland
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-12 06:47:12 +0100
committerGitHub <noreply@github.com>2023-09-12 06:47:12 +0100
commit909054c35772ae62d6d2de0cefd1bef18762e754 (patch)
tree10a7be9d4ef2e3b6962e108beea3f29514ef0f4c /keyboards/inland
parent06cec720dde5e4c9acfb476cbdf3e098a2172eee (diff)
Migrate spi_flash WEAR_LEVELING_DRIVER to info.json (#21978)
Diffstat (limited to 'keyboards/inland')
-rw-r--r--keyboards/inland/kb83/info.json6
-rw-r--r--keyboards/inland/kb83/rules.mk2
-rw-r--r--keyboards/inland/mk47/info.json8
-rw-r--r--keyboards/inland/mk47/rules.mk3
4 files changed, 14 insertions, 5 deletions
diff --git a/keyboards/inland/kb83/info.json b/keyboards/inland/kb83/info.json
index ce577fb029..33545515ad 100644
--- a/keyboards/inland/kb83/info.json
+++ b/keyboards/inland/kb83/info.json
@@ -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}
diff --git a/keyboards/inland/kb83/rules.mk b/keyboards/inland/kb83/rules.mk
index 756d0c0719..aefdb5a168 100644
--- a/keyboards/inland/kb83/rules.mk
+++ b/keyboards/inland/kb83/rules.mk
@@ -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
diff --git a/keyboards/inland/mk47/info.json b/keyboards/inland/mk47/info.json
index 184527e0de..3c4818cf7b 100644
--- a/keyboards/inland/mk47/info.json
+++ b/keyboards/inland/mk47/info.json
@@ -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": [
diff --git a/keyboards/inland/mk47/rules.mk b/keyboards/inland/mk47/rules.mk
index 24d5f6f52e..6e7633bfe0 100644
--- a/keyboards/inland/mk47/rules.mk
+++ b/keyboards/inland/mk47/rules.mk
@@ -1,2 +1 @@
-EEPROM_DRIVER = wear_leveling
-WEAR_LEVELING_DRIVER = spi_flash
+# This file intentionally left blank