summaryrefslogtreecommitdiff
path: root/keyboards/smithrune
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/smithrune
parent50c5403612018ae940af311078dfb760f9b0c2ce (diff)
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/smithrune')
-rw-r--r--keyboards/smithrune/magnus/m75h/config.h3
-rw-r--r--keyboards/smithrune/magnus/m75h/info.json5
-rw-r--r--keyboards/smithrune/magnus/m75s/config.h3
-rw-r--r--keyboards/smithrune/magnus/m75s/info.json5
4 files changed, 10 insertions, 6 deletions
diff --git a/keyboards/smithrune/magnus/m75h/config.h b/keyboards/smithrune/magnus/m75h/config.h
index 310d7b1981..e72ba06969 100644
--- a/keyboards/smithrune/magnus/m75h/config.h
+++ b/keyboards/smithrune/magnus/m75h/config.h
@@ -27,6 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_PWM_PAL_MODE 1
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
#define WS2812_DMA_CHANNEL 6
-
-#define WEAR_LEVELING_LOGICAL_SIZE 2048
-#define WEAR_LEVELING_BACKING_SIZE 4096
diff --git a/keyboards/smithrune/magnus/m75h/info.json b/keyboards/smithrune/magnus/m75h/info.json
index 9b120a186e..a4f2ce5768 100644
--- a/keyboards/smithrune/magnus/m75h/info.json
+++ b/keyboards/smithrune/magnus/m75h/info.json
@@ -11,6 +11,11 @@
"build": {
"lto": true
},
+ "eeprom": {
+ "wear_leveling": {
+ "backing_size": 4096
+ }
+ },
"features": {
"audio": false,
"backlight": false,
diff --git a/keyboards/smithrune/magnus/m75s/config.h b/keyboards/smithrune/magnus/m75s/config.h
index 61f5f8e0a5..1e8874caa4 100644
--- a/keyboards/smithrune/magnus/m75s/config.h
+++ b/keyboards/smithrune/magnus/m75s/config.h
@@ -29,6 +29,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_PWM_PAL_MODE 1
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
#define WS2812_DMA_CHANNEL 6
-
-#define WEAR_LEVELING_LOGICAL_SIZE 2048
-#define WEAR_LEVELING_BACKING_SIZE 4096
diff --git a/keyboards/smithrune/magnus/m75s/info.json b/keyboards/smithrune/magnus/m75s/info.json
index 56f7a06b04..5b834631f7 100644
--- a/keyboards/smithrune/magnus/m75s/info.json
+++ b/keyboards/smithrune/magnus/m75s/info.json
@@ -11,6 +11,11 @@
"build": {
"lto": true
},
+ "eeprom": {
+ "wear_leveling": {
+ "backing_size": 4096
+ }
+ },
"features": {
"audio": false,
"backlight": true,