summaryrefslogtreecommitdiff
path: root/keyboards/hfdkb
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-12 06:47:12 +0100
committerGitHub <noreply@github.com>2023-09-12 06:47:12 +0100
commit909054c35772ae62d6d2de0cefd1bef18762e754 (patch)
tree10a7be9d4ef2e3b6962e108beea3f29514ef0f4c /keyboards/hfdkb
parent06cec720dde5e4c9acfb476cbdf3e098a2172eee (diff)
Migrate spi_flash WEAR_LEVELING_DRIVER to info.json (#21978)
Diffstat (limited to 'keyboards/hfdkb')
-rw-r--r--keyboards/hfdkb/ac001/info.json6
-rw-r--r--keyboards/hfdkb/ac001/rules.mk2
2 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/hfdkb/ac001/info.json b/keyboards/hfdkb/ac001/info.json
index 0a361d63ed..36583e2e58 100644
--- a/keyboards/hfdkb/ac001/info.json
+++ b/keyboards/hfdkb/ac001/info.json
@@ -17,6 +17,12 @@
"rows": ["B15"]
},
"diode_direction": "ROW2COL",
+ "eeprom": {
+ "driver": "wear_leveling",
+ "wear_leveling": {
+ "driver": "spi_flash"
+ }
+ },
"ws2812": {
"pin": "A1"
},
diff --git a/keyboards/hfdkb/ac001/rules.mk b/keyboards/hfdkb/ac001/rules.mk
index 81b7e82c3f..1358ab075a 100644
--- a/keyboards/hfdkb/ac001/rules.mk
+++ b/keyboards/hfdkb/ac001/rules.mk
@@ -10,5 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
RGB_MATRIX_ENABLE = yes
-EEPROM_DRIVER = wear_leveling
-WEAR_LEVELING_DRIVER = spi_flash