summaryrefslogtreecommitdiff
path: root/keyboards/inland/v83p
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/inland/v83p
parentde3c42125b661f62757f8ee4f6184c089340d3a0 (diff)
Migrate some EEPROM config to info.json (#22434)
Diffstat (limited to 'keyboards/inland/v83p')
-rw-r--r--keyboards/inland/v83p/config.h1
-rw-r--r--keyboards/inland/v83p/info.json7
-rw-r--r--keyboards/inland/v83p/rules.mk3
3 files changed, 8 insertions, 3 deletions
diff --git a/keyboards/inland/v83p/config.h b/keyboards/inland/v83p/config.h
index 1cd93e2033..1553c3e632 100644
--- a/keyboards/inland/v83p/config.h
+++ b/keyboards/inland/v83p/config.h
@@ -29,7 +29,6 @@
#define SPI_MOSI_PAL_MODE 5
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
-#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/inland/v83p/info.json b/keyboards/inland/v83p/info.json
index f738af3ef7..900937570f 100644
--- a/keyboards/inland/v83p/info.json
+++ b/keyboards/inland/v83p/info.json
@@ -12,6 +12,13 @@
"suspend_wakeup_delay": 1000
},
"diode_direction": "ROW2COL",
+ "eeprom": {
+ "driver": "wear_leveling",
+ "wear_leveling": {
+ "driver": "spi_flash",
+ "backing_size": 4096
+ }
+ },
"features": {
"bootmagic": true,
"command": false,
diff --git a/keyboards/inland/v83p/rules.mk b/keyboards/inland/v83p/rules.mk
index 24d5f6f52e..6e7633bfe0 100644
--- a/keyboards/inland/v83p/rules.mk
+++ b/keyboards/inland/v83p/rules.mk
@@ -1,2 +1 @@
-EEPROM_DRIVER = wear_leveling
-WEAR_LEVELING_DRIVER = spi_flash
+# This file intentionally left blank