summaryrefslogtreecommitdiffstats
path: root/keyboards/xelus/valor_frl_tkl
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2020-12-09 17:28:58 +0000
committerGitHub <noreply@github.com>2020-12-09 09:28:58 -0800
commitcd67074f72119c70ab91bf64d1c5bff60dcf2f91 (patch)
tree8300da71fdd2c4340d45d36db67f0ac1eba7434d /keyboards/xelus/valor_frl_tkl
parent01c7108db52677c2a4210bcda0afd2b1d3f7619f (diff)
[Keyboard] Valor FRL TKL update - EEPROM change (#11163)
* valor fix * change eeprom * fix up eeprom
Diffstat (limited to 'keyboards/xelus/valor_frl_tkl')
-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