summaryrefslogtreecommitdiff
path: root/keyboards/rgbkb/sol3/mcuconf.h
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2022-01-21 21:51:12 -0600
committerGitHub <noreply@github.com>2022-01-21 19:51:12 -0800
commitad702096a97677eab5c1931d6f0d4a51e1a564a5 (patch)
tree51ddb8df5f1f2c18ee86ba8e5045b4f955a9d112 /keyboards/rgbkb/sol3/mcuconf.h
parentb45a037c7edcd9c1cfadceb69ed51e7d42aa58c1 (diff)
[Keyboard] Sol 3 Keyboard from RGBKB (#15687)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Franklyn Tackitt <franklyn@tackitt.net>
Diffstat (limited to 'keyboards/rgbkb/sol3/mcuconf.h')
-rw-r--r--keyboards/rgbkb/sol3/mcuconf.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/rgbkb/sol3/mcuconf.h b/keyboards/rgbkb/sol3/mcuconf.h
new file mode 100644
index 0000000000..e68a680f48
--- /dev/null
+++ b/keyboards/rgbkb/sol3/mcuconf.h
@@ -0,0 +1,30 @@
+/*
+ * ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42):
+ * <https://github.com/Legonut> wrote this file. As long as you retain this
+ * notice you can do whatever you want with this stuff. If we meet some day, and
+ * you think this stuff is worth it, you can buy me a beer in return. David Rauseo
+ * ----------------------------------------------------------------------------
+ */
+
+#pragma once
+
+#include_next <mcuconf.h>
+
+#undef STM32_DAC_USE_DAC1_CH1
+#define STM32_DAC_USE_DAC1_CH1 TRUE
+
+#undef STM32_DAC_USE_DAC1_CH2
+#define STM32_DAC_USE_DAC1_CH2 TRUE
+
+#undef STM32_GPT_USE_TIM6
+#define STM32_GPT_USE_TIM6 TRUE
+
+#undef STM32_I2C_USE_I2C1
+#define STM32_I2C_USE_I2C1 TRUE
+
+#undef STM32_PWM_USE_TIM3
+#define STM32_PWM_USE_TIM3 TRUE
+
+#undef STM32_SERIAL_USE_USART1
+#define STM32_SERIAL_USE_USART1 TRUE