From 4a64d47f1268c037688b53cbf5bbecc17c5fec96 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 14 Feb 2024 08:54:24 +0000 Subject: Migrate WEAR_LEVELING_* to info.json (#23077) --- keyboards/dark/magnum_ergo_1/config.h | 3 --- keyboards/dark/magnum_ergo_1/info.json | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'keyboards/dark/magnum_ergo_1') diff --git a/keyboards/dark/magnum_ergo_1/config.h b/keyboards/dark/magnum_ergo_1/config.h index 207bc978e8..6b153f69df 100644 --- a/keyboards/dark/magnum_ergo_1/config.h +++ b/keyboards/dark/magnum_ergo_1/config.h @@ -30,6 +30,3 @@ along with this program. If not, see . #define LED_INDICATOR_3 B0 #define LED_INDICATOR_4 A5 #define LED_INDICATOR_5 C15 - -#define WEAR_LEVELING_LOGICAL_SIZE 2048 -#define WEAR_LEVELING_BACKING_SIZE 4096 diff --git a/keyboards/dark/magnum_ergo_1/info.json b/keyboards/dark/magnum_ergo_1/info.json index 6ed3908479..cdabceec7f 100644 --- a/keyboards/dark/magnum_ergo_1/info.json +++ b/keyboards/dark/magnum_ergo_1/info.json @@ -11,6 +11,11 @@ "build": { "lto": true }, + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "features": { "audio": false, "backlight": true, -- cgit v1.2.3