From 1efc79063c5bc5fae6766f7555738b122ef8988d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 13 Nov 2023 22:30:19 +0000 Subject: Migrate some EEPROM config to info.json (#22434) --- keyboards/monsgeek/m3/config.h | 1 - keyboards/monsgeek/m3/info.json | 7 +++++++ keyboards/monsgeek/m3/rules.mk | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'keyboards/monsgeek/m3') diff --git a/keyboards/monsgeek/m3/config.h b/keyboards/monsgeek/m3/config.h index 93ffa1f07c..41c9ea3cea 100644 --- a/keyboards/monsgeek/m3/config.h +++ b/keyboards/monsgeek/m3/config.h @@ -33,7 +33,6 @@ #define SPI_MOSI_PAL_MODE 5 #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12 -#define WEAR_LEVELING_BACKING_SIZE (8 * 1024) /* I2C Config for LED Driver */ #define SNLED27351_DRIVER_COUNT 2 diff --git a/keyboards/monsgeek/m3/info.json b/keyboards/monsgeek/m3/info.json index a93b0d47dc..df99a6a22c 100644 --- a/keyboards/monsgeek/m3/info.json +++ b/keyboards/monsgeek/m3/info.json @@ -11,6 +11,13 @@ }, "processor": "WB32FQ95", "bootloader": "wb32-dfu", + "eeprom": { + "driver": "wear_leveling", + "wear_leveling": { + "driver": "spi_flash", + "backing_size": 8192 + } + }, "features": { "bootmagic": true, "extrakey": true, diff --git a/keyboards/monsgeek/m3/rules.mk b/keyboards/monsgeek/m3/rules.mk index 24d5f6f52e..6e7633bfe0 100644 --- a/keyboards/monsgeek/m3/rules.mk +++ b/keyboards/monsgeek/m3/rules.mk @@ -1,2 +1 @@ -EEPROM_DRIVER = wear_leveling -WEAR_LEVELING_DRIVER = spi_flash +# This file intentionally left blank -- cgit v1.2.3