aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cipulot/ec_980c/mcuconf.h
diff options
context:
space:
mode:
authorCipulot <40441626+Cipulot@users.noreply.github.com>2024-04-30 20:32:08 +0200
committerGitHub <noreply@github.com>2024-04-30 14:32:08 -0400
commit31c81d432cbe963a1132f231036d38aa908c9403 (patch)
tree9aa7adf2552594e78068bffc139d6970da29e5cb /keyboards/cipulot/ec_980c/mcuconf.h
parent69acadf967ed9b8389a3087425c3d2a772c09495 (diff)
Add EC980C (#23172)
Diffstat (limited to 'keyboards/cipulot/ec_980c/mcuconf.h')
-rw-r--r--keyboards/cipulot/ec_980c/mcuconf.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/cipulot/ec_980c/mcuconf.h b/keyboards/cipulot/ec_980c/mcuconf.h
new file mode 100644
index 0000000000..5f9ecca48d
--- /dev/null
+++ b/keyboards/cipulot/ec_980c/mcuconf.h
@@ -0,0 +1,28 @@
+/* Copyright 2023 Cipulot
+ *
+ * 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 3 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_ADC_USE_ADC1
+#define STM32_ADC_USE_ADC1 TRUE
+
+#undef STM32_PWM_USE_ADVANCED
+#define STM32_PWM_USE_ADVANCED TRUE
+
+#undef STM32_PWM_USE_TIM1
+#define STM32_PWM_USE_TIM1 TRUE