summaryrefslogtreecommitdiff
path: root/keyboards/yugo_m/model_m_101/config.h
diff options
context:
space:
mode:
authoran_achronism <87213873+an-achronism@users.noreply.github.com>2022-03-16 00:06:27 +0000
committerGitHub <noreply@github.com>2022-03-15 17:06:27 -0700
commitf6f4d85aa5256cfeadcae0b502830342bfd0a085 (patch)
treebdb10b09c24d770596c25cee8953a8ebfc1151a5 /keyboards/yugo_m/model_m_101/config.h
parent8bffc6195959ceb3a0623595f3d4d5ac072af8c1 (diff)
yugo_m enhancement: include all available key positions (#16216)
* yugo_m enhancement to include all available key positions in matrix
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