From 909054c35772ae62d6d2de0cefd1bef18762e754 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 12 Sep 2023 06:47:12 +0100 Subject: Migrate spi_flash WEAR_LEVELING_DRIVER to info.json (#21978) --- keyboards/monsgeek/m1/info.json | 6 ++++++ keyboards/monsgeek/m1/rules.mk | 7 +------ 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'keyboards/monsgeek/m1') diff --git a/keyboards/monsgeek/m1/info.json b/keyboards/monsgeek/m1/info.json index 5e772f81f6..fe979b7c31 100644 --- a/keyboards/monsgeek/m1/info.json +++ b/keyboards/monsgeek/m1/info.json @@ -26,6 +26,12 @@ "rows": ["B15", "C6", "C7", "C8", "C9", "A8"] }, "diode_direction": "ROW2COL", + "eeprom": { + "driver": "wear_leveling", + "wear_leveling": { + "driver": "spi_flash" + } + }, "encoder": { "rotary": [ {"pin_a": "B14", "pin_b": "B13"} diff --git a/keyboards/monsgeek/m1/rules.mk b/keyboards/monsgeek/m1/rules.mk index b753f0682e..6e7633bfe0 100644 --- a/keyboards/monsgeek/m1/rules.mk +++ b/keyboards/monsgeek/m1/rules.mk @@ -1,6 +1 @@ -# Build Options -# change yes to no to disable -# -EEPROM_DRIVER = wear_leveling -WEAR_LEVELING_DRIVER = spi_flash - +# This file intentionally left blank -- cgit v1.2.3