summaryrefslogtreecommitdiff
path: root/keyboards/phentech/rpk_001
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-11-28 16:39:48 +1100
committerNick Brassel <nick@tzarc.org>2023-11-28 16:40:47 +1100
commit0115951de12bd4c798a43a380651c34552552e85 (patch)
tree62999011ae782d93aa6dc9c889615db2a840cafc /keyboards/phentech/rpk_001
parent0379d1f59e58cefa18cdb72ba1b77507d1108ae6 (diff)
parent4d99e0a23cff02f4c6e55e093b5de08a9be0df7c (diff)
`develop` -> `master`, 2023q4 edition
Diffstat (limited to 'keyboards/phentech/rpk_001')
-rw-r--r--keyboards/phentech/rpk_001/config.h2
-rw-r--r--keyboards/phentech/rpk_001/info.json7
-rw-r--r--keyboards/phentech/rpk_001/rules.mk2
3 files changed, 8 insertions, 3 deletions
diff --git a/keyboards/phentech/rpk_001/config.h b/keyboards/phentech/rpk_001/config.h
index 05391a21ed..baa207f065 100644
--- a/keyboards/phentech/rpk_001/config.h
+++ b/keyboards/phentech/rpk_001/config.h
@@ -6,7 +6,6 @@
/* RGB Config */
#define DRIVER_1_CS B6
#define DRIVER_1_EN B7
-#define DRIVER_COUNT 1
#define RGB_MATRIX_LED_COUNT 67
/* SPI Config */
@@ -17,7 +16,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