summaryrefslogtreecommitdiff
path: root/keyboards/hfdkb/keyboard_sw/k83/halconf.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-03-11 17:53:29 +0000
committerQMK Bot <hello@qmk.fm>2023-03-11 17:53:29 +0000
commit2ac9e82f61b69b087c2f99ed07428b7dee2d0acc (patch)
tree8d58285b6307500da6525e0dc6b9fe7c66e5d29b /keyboards/hfdkb/keyboard_sw/k83/halconf.h
parentbe49f85f31d5b111bb9305bdcbb934ce95f9ee6a (diff)
parentdff9ee25e23536366d92e55d532f433dd8426db9 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/hfdkb/keyboard_sw/k83/halconf.h')
-rw-r--r--keyboards/hfdkb/keyboard_sw/k83/halconf.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/hfdkb/keyboard_sw/k83/halconf.h b/keyboards/hfdkb/keyboard_sw/k83/halconf.h
new file mode 100644
index 0000000000..2f64e65393
--- /dev/null
+++ b/keyboards/hfdkb/keyboard_sw/k83/halconf.h
@@ -0,0 +1,23 @@
+/* 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
+
+#define HAL_USE_I2C TRUE
+#define HAL_USE_SPI TRUE
+#define SPI_USE_WAIT TRUE
+#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
+
+#include_next <halconf.h>