summaryrefslogtreecommitdiff
path: root/keyboards/yugo_m/model_m_101
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-11-12 10:57:44 +1100
committerGitHub <noreply@github.com>2022-11-11 23:57:44 +0000
commit092228571c40a31d88940055b4d2fa749f135314 (patch)
treee3cf8605a284ef7448f43a6f636c17271b4b8cd3 /keyboards/yugo_m/model_m_101
parent8c6d2946f7187ecc8ad53afa8f2365b352524459 (diff)
Move EFL wear-leveling driver to be default for F1, F3, F4, L4, G4, WB32, GD32V. (#19020)
Diffstat (limited to 'keyboards/yugo_m/model_m_101')
-rw-r--r--keyboards/yugo_m/model_m_101/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/yugo_m/model_m_101/config.h b/keyboards/yugo_m/model_m_101/config.h
index c22bc610c3..0a9349aac1 100644
--- a/keyboards/yugo_m/model_m_101/config.h
+++ b/keyboards/yugo_m/model_m_101/config.h
@@ -91,5 +91,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
-/* redefine available (emulated) EEPROM as 4 kB rather than the default 1 kB to let VIA use more of the 8 kB of on-chip Flash of the STM32F303 to store 4 layers (since 4 layers * 8 rows * 16 columns * 2 = 1024 bytes but the default max available is 1023 bytes due to ATMEGA32U4 etc. only having 1 kB of EEPROM) */
-#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 4095
+/* redefine available (emulated) EEPROM as 4 kB rather than the default 2 kB to let VIA use more of the on-chip Flash of the STM32F303 to store 4 layers (since 4 layers * 8 rows * 16 columns * 2 = 1024 bytes but the default max available is 1023 bytes due to ATMEGA32U4 etc. only having 1 kB of EEPROM) */
+#define WEAR_LEVELING_BACKING_SIZE 4096
+#define WEAR_LEVELING_LOGICAL_SIZE 2048