summaryrefslogtreecommitdiff
path: root/keyboards/gmmk
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/gmmk
parent36b4e290c8dd1d6b0156c5730df36930890dc605 (diff)
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/gmmk')
-rw-r--r--keyboards/gmmk/gmmk2/p96/ansi/info.json3
-rw-r--r--keyboards/gmmk/gmmk2/p96/config.h1
-rw-r--r--keyboards/gmmk/gmmk2/p96/iso/info.json3
-rw-r--r--keyboards/gmmk/numpad/config.h1
-rw-r--r--keyboards/gmmk/numpad/info.json3
-rw-r--r--keyboards/gmmk/pro/rev2/ansi/info.json3
-rw-r--r--keyboards/gmmk/pro/rev2/config.h1
-rw-r--r--keyboards/gmmk/pro/rev2/iso/info.json3
8 files changed, 10 insertions, 8 deletions
diff --git a/keyboards/gmmk/gmmk2/p96/ansi/info.json b/keyboards/gmmk/gmmk2/p96/ansi/info.json
index b80e334e0a..e4eaddbfe8 100644
--- a/keyboards/gmmk/gmmk2/p96/ansi/info.json
+++ b/keyboards/gmmk/gmmk2/p96/ansi/info.json
@@ -22,7 +22,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 2048
}
},
"processor": "WB32F3G71",
diff --git a/keyboards/gmmk/gmmk2/p96/config.h b/keyboards/gmmk/gmmk2/p96/config.h
index 4200bae922..9a5a2bf8a4 100644
--- a/keyboards/gmmk/gmmk2/p96/config.h
+++ b/keyboards/gmmk/gmmk2/p96/config.h
@@ -25,7 +25,6 @@
/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
-#define WEAR_LEVELING_BACKING_SIZE 2048
/* SPI Config for LED Driver */
#define SPI_DRIVER SPIDQ
diff --git a/keyboards/gmmk/gmmk2/p96/iso/info.json b/keyboards/gmmk/gmmk2/p96/iso/info.json
index ee59bfd4ff..42b40231b6 100644
--- a/keyboards/gmmk/gmmk2/p96/iso/info.json
+++ b/keyboards/gmmk/gmmk2/p96/iso/info.json
@@ -22,7 +22,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 2048
}
},
"processor": "WB32F3G71",
diff --git a/keyboards/gmmk/numpad/config.h b/keyboards/gmmk/numpad/config.h
index 9096ce1d56..24a7a24a3f 100644
--- a/keyboards/gmmk/numpad/config.h
+++ b/keyboards/gmmk/numpad/config.h
@@ -37,7 +37,6 @@
#define RGB_MATRIX_LED_COUNT 31
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B6
-#define WEAR_LEVELING_BACKING_SIZE 2048
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
diff --git a/keyboards/gmmk/numpad/info.json b/keyboards/gmmk/numpad/info.json
index 406f22603a..83f7d840dc 100644
--- a/keyboards/gmmk/numpad/info.json
+++ b/keyboards/gmmk/numpad/info.json
@@ -11,7 +11,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 2048
}
},
"encoder": {
diff --git a/keyboards/gmmk/pro/rev2/ansi/info.json b/keyboards/gmmk/pro/rev2/ansi/info.json
index 968a1952ee..cd1fd31bf0 100644
--- a/keyboards/gmmk/pro/rev2/ansi/info.json
+++ b/keyboards/gmmk/pro/rev2/ansi/info.json
@@ -19,7 +19,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 2048
}
},
"encoder": {
diff --git a/keyboards/gmmk/pro/rev2/config.h b/keyboards/gmmk/pro/rev2/config.h
index fa409ba026..c393e04e45 100644
--- a/keyboards/gmmk/pro/rev2/config.h
+++ b/keyboards/gmmk/pro/rev2/config.h
@@ -19,7 +19,6 @@
/* External spi flash */
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B12
-#define WEAR_LEVELING_BACKING_SIZE 2048
/* SPI Config for LED Driver */
#define SPI_DRIVER SPIDQ
diff --git a/keyboards/gmmk/pro/rev2/iso/info.json b/keyboards/gmmk/pro/rev2/iso/info.json
index 54ebc2d2f7..6233356616 100644
--- a/keyboards/gmmk/pro/rev2/iso/info.json
+++ b/keyboards/gmmk/pro/rev2/iso/info.json
@@ -19,7 +19,8 @@
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
- "driver": "spi_flash"
+ "driver": "spi_flash",
+ "backing_size": 2048
}
},
"encoder": {