summaryrefslogtreecommitdiff
path: root/keyboards/mode/m256ws/mcuconf.h
diff options
context:
space:
mode:
authorÁlvaro A. Volpato <alvaro.augusto.volpato@gmail.com>2023-07-11 00:50:18 -0300
committerGitHub <noreply@github.com>2023-07-10 20:50:18 -0700
commit4d92aff2aeed79f6b0c792a5b75744c5dc1049cd (patch)
tree1dbb1997570ffa7e6656affec0a78b8fae2b4a4c /keyboards/mode/m256ws/mcuconf.h
parent27b92277a93a923b1715bc50e18df595a55db32e (diff)
[Keyboard] Add Mode M256-WS and M256-WH (#20502)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/mode/m256ws/mcuconf.h')
-rw-r--r--keyboards/mode/m256ws/mcuconf.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/mode/m256ws/mcuconf.h b/keyboards/mode/m256ws/mcuconf.h
new file mode 100644
index 0000000000..3d1d05c307
--- /dev/null
+++ b/keyboards/mode/m256ws/mcuconf.h
@@ -0,0 +1,25 @@
+/* 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>
+
+#undef STM32_PWM_USE_ADVANCED
+#define STM32_PWM_USE_ADVANCED TRUE
+
+#undef STM32_PWM_USE_TIM1
+#define STM32_PWM_USE_TIM1 TRUE