summaryrefslogtreecommitdiffstats
path: root/keyboards/mechwild/sugarglider/halconf.h
diff options
context:
space:
mode:
authorKyle McCreery <mccreery.kyle@gmail.com>2023-03-15 11:49:14 -0400
committerGitHub <noreply@github.com>2023-03-15 15:49:14 +0000
commit915d7a18d757ddb22498d66b82c6309077cdb178 (patch)
treede405b5d4b2ed31c09c52bb1691ef789aff70d04 /keyboards/mechwild/sugarglider/halconf.h
parente62fc866dbac6b558b328be14e8096835c3aadc7 (diff)
[Keyboard] New Keyboard - Sugar Glider (#19933)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/mechwild/sugarglider/halconf.h')
-rw-r--r--keyboards/mechwild/sugarglider/halconf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/mechwild/sugarglider/halconf.h b/keyboards/mechwild/sugarglider/halconf.h
new file mode 100644
index 0000000000..23a1dc04b3
--- /dev/null
+++ b/keyboards/mechwild/sugarglider/halconf.h
@@ -0,0 +1,12 @@
+// Copyright 2023 Kyle McCreery
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#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>