summaryrefslogtreecommitdiff
path: root/keyboards/yugo_m/model_m_101/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yugo_m/model_m_101/config.h')
-rw-r--r--keyboards/yugo_m/model_m_101/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/yugo_m/model_m_101/config.h b/keyboards/yugo_m/model_m_101/config.h
index 94861a7587..e17f8310b8 100644
--- a/keyboards/yugo_m/model_m_101/config.h
+++ b/keyboards/yugo_m/model_m_101/config.h
@@ -1,5 +1,6 @@
/*
Copyright 2020 Nidzo Tomic <tomicn8@hotmail.com>
+Copyright 2022 an_achronism <87213873+an-achronism@users.noreply.github.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -96,3 +97,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#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