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/projectd/75/ansi | |
parent | de3c42125b661f62757f8ee4f6184c089340d3a0 (diff) |
Migrate some EEPROM config to info.json (#22434)
Diffstat (limited to 'keyboards/projectd/75/ansi')
-rw-r--r-- | keyboards/projectd/75/ansi/config.h | 1 | ||||
-rw-r--r-- | keyboards/projectd/75/ansi/info.json | 10 | ||||
-rw-r--r-- | keyboards/projectd/75/ansi/rules.mk | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/keyboards/projectd/75/ansi/config.h b/keyboards/projectd/75/ansi/config.h index 5fcad72e71..c27da26a6f 100644 --- a/keyboards/projectd/75/ansi/config.h +++ b/keyboards/projectd/75/ansi/config.h @@ -25,7 +25,6 @@ /* External spi flash */ #define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14 -#define WEAR_LEVELING_BACKING_SIZE (4 * 1024) /* SPI Config for LED Driver */ #define SPI_DRIVER SPIDQ diff --git a/keyboards/projectd/75/ansi/info.json b/keyboards/projectd/75/ansi/info.json index daf94202e0..0e137de614 100644 --- a/keyboards/projectd/75/ansi/info.json +++ b/keyboards/projectd/75/ansi/info.json @@ -6,6 +6,13 @@ "bootmagic": { "matrix": [1, 3] }, + "eeprom": { + "driver": "wear_leveling", + "wear_leveling": { + "driver": "spi_flash", + "backing_size": 4096 + } + }, "diode_direction": "COL2ROW", "dynamic_keymap": { "layer_count": 10 @@ -176,9 +183,6 @@ "pid": "0x000F", "vid": "0x3233" }, - "eeprom": { - "driver": "wear_leveling" - }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/projectd/75/ansi/rules.mk b/keyboards/projectd/75/ansi/rules.mk index 002458405e..6e7633bfe0 100644 --- a/keyboards/projectd/75/ansi/rules.mk +++ b/keyboards/projectd/75/ansi/rules.mk @@ -1 +1 @@ -WEAR_LEVELING_DRIVER = spi_flash +# This file intentionally left blank |