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/keychron/v5/config.h | 4 ---- keyboards/keychron/v5/info.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/keychron/v5') diff --git a/keyboards/keychron/v5/config.h b/keyboards/keychron/v5/config.h index 694fdb8508..622c9efe6c 100644 --- a/keyboards/keychron/v5/config.h +++ b/keyboards/keychron/v5/config.h @@ -38,7 +38,3 @@ #define SNLED27351_CURRENT_TUNE \ { 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56, 0xB6, 0xB6, 0x56 } - -/* EEPROM Driver Configuration */ -#define WEAR_LEVELING_LOGICAL_SIZE 2048 -#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) diff --git a/keyboards/keychron/v5/info.json b/keyboards/keychron/v5/info.json index 35faaa62f9..94a45db562 100644 --- a/keyboards/keychron/v5/info.json +++ b/keyboards/keychron/v5/info.json @@ -1,4 +1,9 @@ { + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "dip_switch": { "matrix_grid": [ [5, 4] ] }, -- cgit v1.2.3