summaryrefslogtreecommitdiff
path: root/keyboards/custommk/cmk11/halconf.h
diff options
context:
space:
mode:
authorDavid Hoelscher <infinityis@users.noreply.github.com>2024-03-08 09:40:32 -0600
committerGitHub <noreply@github.com>2024-03-08 08:40:32 -0700
commit113d3d60016a1158d1eca8a12a55a2c330a7f498 (patch)
tree85709d582f10b6b19a7a1cd3b6f3e86685688d70 /keyboards/custommk/cmk11/halconf.h
parent8946aace5bb3c5397b79b0e5999cc9547e0ade65 (diff)
[Keyboard] Add CMK11 (#23239)
* adding cmk11 * correcting default keymap * removing rules.mk * removing unnecessary comment
Diffstat (limited to 'keyboards/custommk/cmk11/halconf.h')
-rw-r--r--keyboards/custommk/cmk11/halconf.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/custommk/cmk11/halconf.h b/keyboards/custommk/cmk11/halconf.h
new file mode 100644
index 0000000000..6791d829f9
--- /dev/null
+++ b/keyboards/custommk/cmk11/halconf.h
@@ -0,0 +1,30 @@
+/* Copyright 2024 customMK
+ *
+ * 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
+
+#define HAL_USE_PWM TRUE
+
+#define HAL_USE_SPI TRUE
+
+#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
+
+#define SERIAL_BUFFERS_SIZE 256
+
+// This enables interrupt-driven mode
+#define SPI_USE_WAIT TRUE
+
+#include_next <halconf.h>