summaryrefslogtreecommitdiff
path: root/keyboards/jukaie
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-11-13 22:30:19 +0000
committerGitHub <noreply@github.com>2023-11-14 09:30:19 +1100
commit1efc79063c5bc5fae6766f7555738b122ef8988d (patch)
treee1fdbc9f288736477a067f3094fe3280d2857325 /keyboards/jukaie
parentde3c42125b661f62757f8ee4f6184c089340d3a0 (diff)
Migrate some EEPROM config to info.json (#22434)
Diffstat (limited to 'keyboards/jukaie')
-rw-r--r--keyboards/jukaie/jk01/config.h1
-rw-r--r--keyboards/jukaie/jk01/info.json10
-rw-r--r--keyboards/jukaie/jk01/rules.mk2
3 files changed, 8 insertions, 5 deletions
diff --git a/keyboards/jukaie/jk01/config.h b/keyboards/jukaie/jk01/config.h
index 8a7ea71db4..e83415f5ba 100644
--- a/keyboards/jukaie/jk01/config.h
+++ b/keyboards/jukaie/jk01/config.h
@@ -25,7 +25,6 @@
/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
-#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)
/* SPI Config for LED Driver */
#define SPI_DRIVER SPIDQ
diff --git a/keyboards/jukaie/jk01/info.json b/keyboards/jukaie/jk01/info.json
index 87c787158c..c53a59a5a3 100644
--- a/keyboards/jukaie/jk01/info.json
+++ b/keyboards/jukaie/jk01/info.json
@@ -7,6 +7,13 @@
"matrix": [1, 3]
},
"diode_direction": "COL2ROW",
+ "eeprom": {
+ "driver": "wear_leveling",
+ "wear_leveling": {
+ "driver": "spi_flash",
+ "backing_size": 8192
+ }
+ },
"encoder": {
"rotary": [
{"pin_a": "C2", "pin_b": "C3"}
@@ -175,9 +182,6 @@
"pid": "0x0002",
"vid": "0x4141"
},
- "eeprom": {
- "driver": "wear_leveling"
- },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/jukaie/jk01/rules.mk b/keyboards/jukaie/jk01/rules.mk
index 002458405e..6e7633bfe0 100644
--- a/keyboards/jukaie/jk01/rules.mk
+++ b/keyboards/jukaie/jk01/rules.mk
@@ -1 +1 @@
-WEAR_LEVELING_DRIVER = spi_flash
+# This file intentionally left blank