summaryrefslogtreecommitdiffstats
path: root/keyboards/yugo_m/model_m_101/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-16 00:07:19 +0000
committerQMK Bot <hello@qmk.fm>2022-03-16 00:07:19 +0000
commitb2e870e4a2a2f29021b05ec0aae2e612f203262f (patch)
tree115eb0f5de7ff60eb550ee9832f4f4fd6c3cf947 /keyboards/yugo_m/model_m_101/config.h
parent919df5934beb1e051eaf28d7e0f02ef8cf708a52 (diff)
parentf6f4d85aa5256cfeadcae0b502830342bfd0a085 (diff)
Merge remote-tracking branch 'origin/master' into develop
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