summaryrefslogtreecommitdiff
path: root/keyboards/monsgeek
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/monsgeek')
-rw-r--r--keyboards/monsgeek/m3/config.h1
-rw-r--r--keyboards/monsgeek/m3/info.json7
-rw-r--r--keyboards/monsgeek/m3/rules.mk3
3 files changed, 8 insertions, 3 deletions
diff --git a/keyboards/monsgeek/m3/config.h b/keyboards/monsgeek/m3/config.h
index 93ffa1f07c..41c9ea3cea 100644
--- a/keyboards/monsgeek/m3/config.h
+++ b/keyboards/monsgeek/m3/config.h
@@ -33,7 +33,6 @@
#define SPI_MOSI_PAL_MODE 5
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12
-#define WEAR_LEVELING_BACKING_SIZE (8 * 1024)
/* I2C Config for LED Driver */
#define SNLED27351_DRIVER_COUNT 2
diff --git a/keyboards/monsgeek/m3/info.json b/keyboards/monsgeek/m3/info.json
index a93b0d47dc..df99a6a22c 100644
--- a/keyboards/monsgeek/m3/info.json
+++ b/keyboards/monsgeek/m3/info.json
@@ -11,6 +11,13 @@
},
"processor": "WB32FQ95",
"bootloader": "wb32-dfu",
+ "eeprom": {
+ "driver": "wear_leveling",
+ "wear_leveling": {
+ "driver": "spi_flash",
+ "backing_size": 8192
+ }
+ },
"features": {
"bootmagic": true,
"extrakey": true,
diff --git a/keyboards/monsgeek/m3/rules.mk b/keyboards/monsgeek/m3/rules.mk
index 24d5f6f52e..6e7633bfe0 100644
--- a/keyboards/monsgeek/m3/rules.mk
+++ b/keyboards/monsgeek/m3/rules.mk
@@ -1,2 +1 @@
-EEPROM_DRIVER = wear_leveling
-WEAR_LEVELING_DRIVER = spi_flash
+# This file intentionally left blank