aboutsummaryrefslogtreecommitdiff
path: root/keyboards/smithrune/magnus/m75s
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-02-14 08:54:24 +0000
committerGitHub <[email protected]>2024-02-14 08:54:24 +0000
commit4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch)
treea356a34c9244c5b985556f133744dff81ee16973 /keyboards/smithrune/magnus/m75s
parent50c5403612018ae940af311078dfb760f9b0c2ce (diff)
downloadqmk_firmware-4a64d47f1268c037688b53cbf5bbecc17c5fec96.tar.gz
qmk_firmware-4a64d47f1268c037688b53cbf5bbecc17c5fec96.zip
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/smithrune/magnus/m75s')
-rw-r--r--keyboards/smithrune/magnus/m75s/config.h3
-rw-r--r--keyboards/smithrune/magnus/m75s/info.json5
2 files changed, 5 insertions, 3 deletions
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,