summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk/ymd75/rev4/iso/mcuconf.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-27 00:49:07 +0100
committerGitHub <noreply@github.com>2023-09-27 00:49:07 +0100
commit25c850e7626534ca112edb5708f42af10302fff5 (patch)
tree6abfe84f7c26a7c31181b321f212ee6f894b068f /keyboards/ymdk/ymd75/rev4/iso/mcuconf.h
parent351b5cd2cd625e031ba88c95ef7c4dfec7a04d80 (diff)
Add support for YMD75 V4 - ISO (#22128)
Diffstat (limited to 'keyboards/ymdk/ymd75/rev4/iso/mcuconf.h')
-rw-r--r--keyboards/ymdk/ymd75/rev4/iso/mcuconf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/ymdk/ymd75/rev4/iso/mcuconf.h b/keyboards/ymdk/ymd75/rev4/iso/mcuconf.h
new file mode 100644
index 0000000000..a7e5a1c058
--- /dev/null
+++ b/keyboards/ymdk/ymd75/rev4/iso/mcuconf.h
@@ -0,0 +1,11 @@
+// Copyright 2023 zvecr<git@zvecr.com>
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#include_next <mcuconf.h>
+
+#undef STM32_PWM_USE_TIM4
+#define STM32_PWM_USE_TIM4 TRUE
+
+#undef STM32_PLLXTPRE
+#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV2