summaryrefslogtreecommitdiff
path: root/keyboards/nix_studio/lilith/mcuconf.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-07-11 15:18:00 +0000
committerQMK Bot <hello@qmk.fm>2023-07-11 15:18:00 +0000
commit06920c20901dbef1a132b695ca4ec0e22e6fdef8 (patch)
treec6fbd441be02f062e4c3104062e75eed6334553a /keyboards/nix_studio/lilith/mcuconf.h
parentcea36a953539a4676061b893a5de9c36ee46c523 (diff)
parent2c061236f9d1e0fcbc6593a5000077cd06cb5f4e (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/nix_studio/lilith/mcuconf.h')
-rw-r--r--keyboards/nix_studio/lilith/mcuconf.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/nix_studio/lilith/mcuconf.h b/keyboards/nix_studio/lilith/mcuconf.h
new file mode 100644
index 0000000000..e93fdc1d23
--- /dev/null
+++ b/keyboards/nix_studio/lilith/mcuconf.h
@@ -0,0 +1,22 @@
+/* Copyright 2020 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/>.
+ */
+
+#pragma once
+
+#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