summaryrefslogtreecommitdiffstats
path: root/keyboards/binepad/bn009r2/config.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-03-11 23:59:47 +1100
committerNick Brassel <nick@tzarc.org>2023-03-11 23:59:47 +1100
commit07157cd707951dff8be9baccacc68ebfb9e4a76a (patch)
tree8e71ceb45b06e7b006585702432d000da4a033e4 /keyboards/binepad/bn009r2/config.h
parentd3a9cf5d2594b5418c805b935181d0b5fe8f0177 (diff)
parente8a5630c7c7aeb371fd1a82e0b1bea672f0e0aeb (diff)
Merge remote-tracking branch 'upstream/master' into develop
Diffstat (limited to 'keyboards/binepad/bn009r2/config.h')
-rw-r--r--keyboards/binepad/bn009r2/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/binepad/bn009r2/config.h b/keyboards/binepad/bn009r2/config.h
new file mode 100644
index 0000000000..45b63ec105
--- /dev/null
+++ b/keyboards/binepad/bn009r2/config.h
@@ -0,0 +1,12 @@
+// Copyright 2023 Binepad (@binepad)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+
+/*
+ * Wear Leveling EEPROM Emulation
+ */
+
+#define WEAR_LEVELING_LOGICAL_SIZE 2048 // Number of bytes "exposed" to the rest of QMK and denotes the size of the usable EEPROM.
+#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2) // Number of bytes used by the wear-leveling algorithm for its underlying storage, and needs to be a multiple of the logical size.