aboutsummaryrefslogtreecommitdiff
path: root/keyboards/werk_technica/one/mcuconf.h
diff options
context:
space:
mode:
authorMoritz Plattner <moritz.plattner@gmx.net>2024-03-22 13:13:07 +0100
committerGitHub <noreply@github.com>2024-03-22 08:13:07 -0400
commit551489645a13f7e7c2d73b3086718016cb386df2 (patch)
tree90f079802a1fbfc6dd74d2a32121508212f19e3b /keyboards/werk_technica/one/mcuconf.h
parentf95f93b0fc569c7aec6ef63150931e32a0a12249 (diff)
Add werk.technica werk.one keyboard (#23130)
* add wt one * update readme for One * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * remove redundant file * reformatted info.json * Update keyboards/werk_technica/one/keymaps/via/rules.mk Co-authored-by: Danny <nooges@users.noreply.github.com> --------- Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Danny <nooges@users.noreply.github.com>
Diffstat (limited to 'keyboards/werk_technica/one/mcuconf.h')
-rw-r--r--keyboards/werk_technica/one/mcuconf.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/werk_technica/one/mcuconf.h b/keyboards/werk_technica/one/mcuconf.h
new file mode 100644
index 0000000000..d25a2619fd
--- /dev/null
+++ b/keyboards/werk_technica/one/mcuconf.h
@@ -0,0 +1,21 @@
+/* Copyright 2023 QMK
+ *
+ * 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
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include_next <mcuconf.h>
+
+/* Set PLL M divider from 4 (F411 GENERIC default) to 8, because of 16 MHz crystal on board */
+#undef STM32_PLLM_VALUE
+#define STM32_PLLM_VALUE 8 \ No newline at end of file