summaryrefslogtreecommitdiff
path: root/keyboards/hazel/bad_wings/halconf.h
diff options
context:
space:
mode:
authorJason Hazel <me@jasonhazel.com>2023-03-21 16:53:06 -0400
committerGitHub <noreply@github.com>2023-03-21 20:53:06 +0000
commitb1e6b3798a0b355aa3f766a906d76b86331ccac4 (patch)
treebe8e89cbc5094f2a589ee850249c526ed2138c85 /keyboards/hazel/bad_wings/halconf.h
parent0bb9eada83d75f967d29a3381315ea0dcab22cdf (diff)
Adding Bad Wings Support (#20153)
Diffstat (limited to 'keyboards/hazel/bad_wings/halconf.h')
-rw-r--r--keyboards/hazel/bad_wings/halconf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/hazel/bad_wings/halconf.h b/keyboards/hazel/bad_wings/halconf.h
new file mode 100644
index 0000000000..ed9500fe75
--- /dev/null
+++ b/keyboards/hazel/bad_wings/halconf.h
@@ -0,0 +1,12 @@
+// Copyright 2023 Jason Hazel (@jasonhazel)
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#define HAL_USE_SPI TRUE
+#define HAL_USE_I2C TRUE
+#define HAL_USE_PWM TRUE
+#define SPI_USE_WAIT TRUE
+#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
+
+#include_next <halconf.h> \ No newline at end of file