summaryrefslogtreecommitdiff
path: root/keyboards/akko/top40/mcuconf.h
diff options
context:
space:
mode:
authorjonylee@hfd <108282809+jonylee1986@users.noreply.github.com>2023-06-15 12:25:23 +0800
committerGitHub <noreply@github.com>2023-06-14 22:25:23 -0600
commit8f980ea69fcebfc70e716da27907ce13940657a1 (patch)
tree3ac86d6a49e426ced9b0d58966369a8b795cc968 /keyboards/akko/top40/mcuconf.h
parentbbba1d07f94490440bb002148cf9aa10cf8f8ccf (diff)
[Keyboard] add top40 keyboard. (#21199)
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
Diffstat (limited to 'keyboards/akko/top40/mcuconf.h')
-rw-r--r--keyboards/akko/top40/mcuconf.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/akko/top40/mcuconf.h b/keyboards/akko/top40/mcuconf.h
new file mode 100644
index 0000000000..0d16f4f04e
--- /dev/null
+++ b/keyboards/akko/top40/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