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/gmmk/pro | |
parent | 36b4e290c8dd1d6b0156c5730df36930890dc605 (diff) |
Migrate WEAR_LEVELING_*_SIZE to info.json (#22010)
Diffstat (limited to 'keyboards/gmmk/pro')
-rw-r--r-- | keyboards/gmmk/pro/rev2/ansi/info.json | 3 | ||||
-rw-r--r-- | keyboards/gmmk/pro/rev2/config.h | 1 | ||||
-rw-r--r-- | keyboards/gmmk/pro/rev2/iso/info.json | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/gmmk/pro/rev2/ansi/info.json b/keyboards/gmmk/pro/rev2/ansi/info.json index 968a1952ee..cd1fd31bf0 100644 --- a/keyboards/gmmk/pro/rev2/ansi/info.json +++ b/keyboards/gmmk/pro/rev2/ansi/info.json @@ -19,7 +19,8 @@ "eeprom": { "driver": "wear_leveling", "wear_leveling": { - "driver": "spi_flash" + "driver": "spi_flash", + "backing_size": 2048 } }, "encoder": { diff --git a/keyboards/gmmk/pro/rev2/config.h b/keyboards/gmmk/pro/rev2/config.h index fa409ba026..c393e04e45 100644 --- a/keyboards/gmmk/pro/rev2/config.h +++ b/keyboards/gmmk/pro/rev2/config.h @@ -19,7 +19,6 @@ /* External spi flash */ #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B12 -#define WEAR_LEVELING_BACKING_SIZE 2048 /* SPI Config for LED Driver */ #define SPI_DRIVER SPIDQ diff --git a/keyboards/gmmk/pro/rev2/iso/info.json b/keyboards/gmmk/pro/rev2/iso/info.json index 54ebc2d2f7..6233356616 100644 --- a/keyboards/gmmk/pro/rev2/iso/info.json +++ b/keyboards/gmmk/pro/rev2/iso/info.json @@ -19,7 +19,8 @@ "eeprom": { "driver": "wear_leveling", "wear_leveling": { - "driver": "spi_flash" + "driver": "spi_flash", + "backing_size": 2048 } }, "encoder": { |