diff options
| author | Joel Challis | 2023-09-14 01:13:19 +0200 |
|---|---|---|
| committer | GitHub | 2023-09-14 01:13:19 +0200 |
| commit | 00feff656f80d9c9bf57cb1c6ad94ef2f69f1440 (patch) | |
| tree | abbb0293f35b8f3d261bc04fc2eaba9ea47dded0 /keyboards/annepro2/c18 | |
| parent | 36b4e290c8dd1d6b0156c5730df36930890dc605 (diff) | |
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/annepro2/c18')
| -rw-r--r-- | keyboards/annepro2/c18/config.h | 4 | ||||
| -rw-r--r-- | keyboards/annepro2/c18/info.json | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/keyboards/annepro2/c18/config.h b/keyboards/annepro2/c18/config.h index 6b6307c3d0..36f4a25c8d 100644 --- a/keyboards/annepro2/c18/config.h +++ b/keyboards/annepro2/c18/config.h @@ -55,7 +55,3 @@ #define EXTERNAL_FLASH_SECTOR_SIZE 4096 #define EXTERNAL_FLASH_BLOCK_SIZE 4096 #define EXTERNAL_FLASH_SIZE (256 * 1024) // 2M-bit flash size - -// Wear-leveling driver configuration -#define WEAR_LEVELING_LOGICAL_SIZE 1024 -#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) diff --git a/keyboards/annepro2/c18/info.json b/keyboards/annepro2/c18/info.json index 439188b2f7..c8f524e3cf 100644 --- a/keyboards/annepro2/c18/info.json +++ b/keyboards/annepro2/c18/info.json @@ -6,7 +6,8 @@ "eeprom": { "driver": "wear_leveling", "wear_leveling": { - "driver": "spi_flash" + "driver": "spi_flash", + "backing_size": 2048 } }, "rgb_matrix": { |