summaryrefslogtreecommitdiff
path: root/keyboards/phentech/rpk_001/halconf.h
diff options
context:
space:
mode:
authorJoy Lee <joylee.lc@foxmail.com>2023-09-21 10:38:20 +0800
committerGitHub <noreply@github.com>2023-09-20 19:38:20 -0700
commit4520a584e40b17b940a660acb0e66cf50bff563a (patch)
tree4ae4817317895d5dcdc52ea79b8c3cfd9fd9d5c3 /keyboards/phentech/rpk_001/halconf.h
parentb5b900200fd91ba597d67a54659b6ec537d2bc07 (diff)
[Keyboard] Add rpk-001 keyboard (#21042)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> Co-authored-by: Joy <chang.li@westberrytech.com>
Diffstat (limited to 'keyboards/phentech/rpk_001/halconf.h')
-rw-r--r--keyboards/phentech/rpk_001/halconf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/phentech/rpk_001/halconf.h b/keyboards/phentech/rpk_001/halconf.h
new file mode 100644
index 0000000000..8760386e81
--- /dev/null
+++ b/keyboards/phentech/rpk_001/halconf.h
@@ -0,0 +1,10 @@
+// Copyright 2023 JoyLee (@itarze)
+// 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>