summaryrefslogtreecommitdiffstats
path: root/keyboards/akko/5108/mcuconf.h
diff options
context:
space:
mode:
authorjonylee@hfd <108282809+jonylee1986@users.noreply.github.com>2023-06-14 14:27:08 +0800
committerGitHub <noreply@github.com>2023-06-14 00:27:08 -0600
commit4055f2a93706af7f3cec46a9b1683cdefeb0d25a (patch)
tree7e33d6cb9d7e217476229971dae3baf28f653609 /keyboards/akko/5108/mcuconf.h
parent55987542e1165aedf826012bf940a235b6afe610 (diff)
[Keyboard]add 5108 Keyboard. (#21184)
Co-authored-by: adophoxia <100170946+adophoxia@users.noreply.github.com> Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/akko/5108/mcuconf.h')
-rw-r--r--keyboards/akko/5108/mcuconf.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/akko/5108/mcuconf.h b/keyboards/akko/5108/mcuconf.h
new file mode 100644
index 0000000000..0d16f4f04e
--- /dev/null
+++ b/keyboards/akko/5108/mcuconf.h
@@ -0,0 +1,24 @@
+/* Copyright (C) 2022 jonylee@hfd
+ *
+ * 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 WB32_SPI_USE_QSPI
+#define WB32_SPI_USE_QSPI TRUE
+
+#undef WB32_I2C_USE_I2C1
+#define WB32_I2C_USE_I2C1 TRUE