summaryrefslogtreecommitdiff
path: root/keyboards/projectd/65/projectd_65_ansi
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-14 00:13:19 +0100
committerGitHub <noreply@github.com>2023-09-14 09:13:19 +1000
commit00feff656f80d9c9bf57cb1c6ad94ef2f69f1440 (patch)
treeabbb0293f35b8f3d261bc04fc2eaba9ea47dded0 /keyboards/projectd/65/projectd_65_ansi
parent36b4e290c8dd1d6b0156c5730df36930890dc605 (diff)
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/projectd/65/projectd_65_ansi')
-rw-r--r--keyboards/projectd/65/projectd_65_ansi/config.h1
-rw-r--r--keyboards/projectd/65/projectd_65_ansi/info.json3
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/projectd/65/projectd_65_ansi/config.h b/keyboards/projectd/65/projectd_65_ansi/config.h
index 64e4595e1b..4d1dc100d8 100644
--- a/keyboards/projectd/65/projectd_65_ansi/config.h
+++ b/keyboards/projectd/65/projectd_65_ansi/config.h
@@ -25,7 +25,6 @@
/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
-#define WEAR_LEVELING_BACKING_SIZE (4 * 1024)
/* SPI Config for LED Driver */
#define SPI_DRIVER SPIDQ
diff --git a/keyboards/projectd/65/projectd_65_ansi/info.json b/keyboards/projectd/65/projectd_65_ansi/info.json
index c385f00ed1..861e3792db 100644
--- a/keyboards/projectd/65/projectd_65_ansi/info.json
+++ b/keyboards/projectd/65/projectd_65_ansi/info.json
@@ -13,7 +13,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 4096
}
},
"features": {