summaryrefslogtreecommitdiff
path: root/keyboards/darkproject
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-14 08:54:24 +0000
committerGitHub <noreply@github.com>2024-02-14 08:54:24 +0000
commit4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch)
treea356a34c9244c5b985556f133744dff81ee16973 /keyboards/darkproject
parent50c5403612018ae940af311078dfb760f9b0c2ce (diff)
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/darkproject')
-rw-r--r--keyboards/darkproject/kd83a_bfg_edition/config.h1
-rw-r--r--keyboards/darkproject/kd83a_bfg_edition/info.json6
-rw-r--r--keyboards/darkproject/kd83a_bfg_edition/rules.mk2
3 files changed, 6 insertions, 3 deletions
diff --git a/keyboards/darkproject/kd83a_bfg_edition/config.h b/keyboards/darkproject/kd83a_bfg_edition/config.h
index 4aab5a8bb7..e8bb8da257 100644
--- a/keyboards/darkproject/kd83a_bfg_edition/config.h
+++ b/keyboards/darkproject/kd83a_bfg_edition/config.h
@@ -23,7 +23,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/darkproject/kd83a_bfg_edition/info.json b/keyboards/darkproject/kd83a_bfg_edition/info.json
index 3e69d1e0eb..56c45a222f 100644
--- a/keyboards/darkproject/kd83a_bfg_edition/info.json
+++ b/keyboards/darkproject/kd83a_bfg_edition/info.json
@@ -177,7 +177,11 @@
"vid": "0x342D"
},
"eeprom": {
- "driver": "wear_leveling"
+ "driver": "wear_leveling",
+ "wear_leveling": {
+ "driver": "spi_flash",
+ "backing_size": 8192
+ }
},
"layouts": {
"LAYOUT": {
diff --git a/keyboards/darkproject/kd83a_bfg_edition/rules.mk b/keyboards/darkproject/kd83a_bfg_edition/rules.mk
index 07eb511a19..6e7633bfe0 100644
--- a/keyboards/darkproject/kd83a_bfg_edition/rules.mk
+++ b/keyboards/darkproject/kd83a_bfg_edition/rules.mk
@@ -1 +1 @@
-WEAR_LEVELING_DRIVER = spi_flash \ No newline at end of file
+# This file intentionally left blank