summaryrefslogtreecommitdiff
path: root/keyboards/darmoshark/k3/halconf.h
diff options
context:
space:
mode:
authorJoy Lee <986984630@qq.com>2023-12-24 11:01:42 +0800
committerGitHub <noreply@github.com>2023-12-23 19:01:42 -0800
commit2d5cfd3ecf90f91b2dad2bce755d199ac080ea62 (patch)
tree8e4a25fef66f17e46125168b67e93ff979ce2c34 /keyboards/darmoshark/k3/halconf.h
parenta1d29982dccffb916cd56be673f813fd5900d84f (diff)
[Keyboard] Add darmoshark k3 (#21980)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> Co-authored-by: Proceee <proceee@gmail.com>
Diffstat (limited to 'keyboards/darmoshark/k3/halconf.h')
-rw-r--r--keyboards/darmoshark/k3/halconf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/darmoshark/k3/halconf.h b/keyboards/darmoshark/k3/halconf.h
new file mode 100644
index 0000000000..b6a606056a
--- /dev/null
+++ b/keyboards/darmoshark/k3/halconf.h
@@ -0,0 +1,10 @@
+// Copyright 2023 Proceee
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define HAL_USE_SPI TRUE
+#define SPI_USE_WAIT TRUE
+#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
+
+#include_next <halconf.h>