summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/olly/octagon/mcuconf.h
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2022-12-05 04:03:41 +0700
committerGitHub <noreply@github.com>2022-12-04 21:03:41 +0000
commit92354b2ca876b6b5dbcb5d34aa34fda6a473bb1a (patch)
treed532943a989652fb465e340b3097a4ee75c2c957 /keyboards/mechlovin/olly/octagon/mcuconf.h
parentaf14b212b962ec455ec80f7527a919ae245bc2d9 (diff)
[Keyboard] Add Olly_Octagon PCB to QMK (#19128)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/mechlovin/olly/octagon/mcuconf.h')
-rw-r--r--keyboards/mechlovin/olly/octagon/mcuconf.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/mechlovin/olly/octagon/mcuconf.h b/keyboards/mechlovin/olly/octagon/mcuconf.h
new file mode 100644
index 0000000000..607305e567
--- /dev/null
+++ b/keyboards/mechlovin/olly/octagon/mcuconf.h
@@ -0,0 +1,27 @@
+/* Copyright 2022 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_SPI_USE_SPI1
+#define STM32_SPI_USE_SPI1 TRUE
+
+#undef STM32_I2C_USE_I2C2
+#define STM32_I2C_USE_I2C2 TRUE