diff options
author | Joel Challis <git@zvecr.com> | 2023-11-13 22:30:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 09:30:19 +1100 |
commit | 1efc79063c5bc5fae6766f7555738b122ef8988d (patch) | |
tree | e1fdbc9f288736477a067f3094fe3280d2857325 /keyboards/phentech | |
parent | de3c42125b661f62757f8ee4f6184c089340d3a0 (diff) |
Migrate some EEPROM config to info.json (#22434)
Diffstat (limited to 'keyboards/phentech')
-rw-r--r-- | keyboards/phentech/rpk_001/config.h | 1 | ||||
-rw-r--r-- | keyboards/phentech/rpk_001/info.json | 7 | ||||
-rw-r--r-- | keyboards/phentech/rpk_001/rules.mk | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/phentech/rpk_001/config.h b/keyboards/phentech/rpk_001/config.h index 05391a21ed..f513dd2684 100644 --- a/keyboards/phentech/rpk_001/config.h +++ b/keyboards/phentech/rpk_001/config.h @@ -17,7 +17,6 @@ /* SPI Flash */ #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN C12 -#define WEAR_LEVELING_BACKING_SIZE (4 * 1024) /* RGB Matrix */ #define RGB_DISABLE_WHEN_USB_SUSPENDED diff --git a/keyboards/phentech/rpk_001/info.json b/keyboards/phentech/rpk_001/info.json index 3d89d012ee..d047c36456 100644 --- a/keyboards/phentech/rpk_001/info.json +++ b/keyboards/phentech/rpk_001/info.json @@ -13,6 +13,13 @@ "suspend_wakeup_delay": 1000 }, "diode_direction": "ROW2COL", + "eeprom": { + "driver": "wear_leveling", + "wear_leveling": { + "driver": "spi_flash", + "backing_size": 4096 + } + }, "features": { "nkro": true, "encoder": true, diff --git a/keyboards/phentech/rpk_001/rules.mk b/keyboards/phentech/rpk_001/rules.mk index 002458405e..6e7633bfe0 100644 --- a/keyboards/phentech/rpk_001/rules.mk +++ b/keyboards/phentech/rpk_001/rules.mk @@ -1 +1 @@ -WEAR_LEVELING_DRIVER = spi_flash +# This file intentionally left blank |