summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/adelais/standard_led/mcuconf.h
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2021-04-21 00:47:58 +0700
committerGitHub <noreply@github.com>2021-04-20 10:47:58 -0700
commit0d5458a7ad4fa8a36692711160d558b0522bc66a (patch)
treebb6e85ab8a880d8d77e481f50e83457b18207260 /keyboards/mechlovin/adelais/standard_led/mcuconf.h
parentcce9ddff80fe7808bf0a8005a4fc3eb51c6e1bdb (diff)
[Keyboard] add adelais rev4 (#12443)
Diffstat (limited to 'keyboards/mechlovin/adelais/standard_led/mcuconf.h')
-rw-r--r--keyboards/mechlovin/adelais/standard_led/mcuconf.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/mechlovin/adelais/standard_led/mcuconf.h b/keyboards/mechlovin/adelais/standard_led/mcuconf.h
new file mode 100644
index 0000000000..b7ecee0204
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/mcuconf.h
@@ -0,0 +1,36 @@
+/* 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_GPT_USE_TIM15
+#define STM32_GPT_USE_TIM15 FALSE
+
+#undef STM32_I2C_USE_I2C1
+#define STM32_I2C_USE_I2C1 TRUE
+
+#undef STM32_PWM_USE_TIM3
+#define STM32_PWM_USE_TIM3 FALSE
+
+#undef STM32_SPI_USE_SPI1
+#define STM32_SPI_USE_SPI1 TRUE
+
+#undef STM32_SPI_USE_SPI2
+#define STM32_SPI_USE_SPI2 FALSE
+