summaryrefslogtreecommitdiff
path: root/keyboards/custommk/ergostrafer/halconf.h
diff options
context:
space:
mode:
authorDavid Hoelscher <infinityis@users.noreply.github.com>2023-06-13 01:32:54 -0500
committerGitHub <noreply@github.com>2023-06-12 23:32:54 -0700
commitdabbc93df47815c4df42696de220684edd05f873 (patch)
tree473d48b07472b81e9933518c2b61dee362efc62d /keyboards/custommk/ergostrafer/halconf.h
parentca6921b1ba422e4276e45062a115bec854864a90 (diff)
[Keyboard] Add ErgoStrafer keyboard (#21195)
Diffstat (limited to 'keyboards/custommk/ergostrafer/halconf.h')
-rw-r--r--keyboards/custommk/ergostrafer/halconf.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/custommk/ergostrafer/halconf.h b/keyboards/custommk/ergostrafer/halconf.h
new file mode 100644
index 0000000000..aed037ba2a
--- /dev/null
+++ b/keyboards/custommk/ergostrafer/halconf.h
@@ -0,0 +1,30 @@
+/* Copyright 2023 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>