summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/xelus/valor_frl_tkl/config.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/xelus/valor_frl_tkl/config.h b/keyboards/xelus/valor_frl_tkl/config.h
index 09af443dd5..ad29555eca 100644
--- a/keyboards/xelus/valor_frl_tkl/config.h
+++ b/keyboards/xelus/valor_frl_tkl/config.h
@@ -60,7 +60,13 @@
#define I2C1_TIMINGR_SCLL 9U
// I2C EEPROM
-#define EEPROM_I2C_CAT24C512
+// 24LC64
+#define EXTERNAL_EEPROM_BYTE_COUNT 65535
+#define EXTERNAL_EEPROM_PAGE_SIZE 32
+#define EXTERNAL_EEPROM_ADDRESS_SIZE 2
+#define EXTERNAL_EEPROM_WRITE_TIME 5
// Dynamic EEPROM
-#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 65535
+// Something sensible or else VIA may crash
+// Users may enable more if they wish
+#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 4095