diff options
author | Joel Challis <git@zvecr.com> | 2023-09-14 00:13:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 09:13:19 +1000 |
commit | 00feff656f80d9c9bf57cb1c6ad94ef2f69f1440 (patch) | |
tree | abbb0293f35b8f3d261bc04fc2eaba9ea47dded0 /keyboards/xelus/kangaroo/rev2 | |
parent | 36b4e290c8dd1d6b0156c5730df36930890dc605 (diff) |
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/xelus/kangaroo/rev2')
-rw-r--r-- | keyboards/xelus/kangaroo/rev2/config.h | 3 | ||||
-rw-r--r-- | keyboards/xelus/kangaroo/rev2/info.json | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/xelus/kangaroo/rev2/config.h b/keyboards/xelus/kangaroo/rev2/config.h index 790db9b30a..dfe8035b10 100644 --- a/keyboards/xelus/kangaroo/rev2/config.h +++ b/keyboards/xelus/kangaroo/rev2/config.h @@ -20,6 +20,3 @@ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -#define WEAR_LEVELING_LOGICAL_SIZE 2048 -#define WEAR_LEVELING_BACKING_SIZE WEAR_LEVELING_LOGICAL_SIZE*2 diff --git a/keyboards/xelus/kangaroo/rev2/info.json b/keyboards/xelus/kangaroo/rev2/info.json index 196f11860b..9e639df034 100644 --- a/keyboards/xelus/kangaroo/rev2/info.json +++ b/keyboards/xelus/kangaroo/rev2/info.json @@ -8,6 +8,11 @@ "rows": ["A9", "A8", "B15", "B14", "B13", "B12", "A4", "A5", "A6", "A7", "B0", "B1"] }, "diode_direction": "COL2ROW", + "eeprom": { + "wear_leveling": { + "backing_size": 4096 + } + }, "processor": "STM32L412", "bootloader": "stm32-dfu" } |