summaryrefslogtreecommitdiffstats
path: root/keyboards/tzarc/djinn/halconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tzarc/djinn/halconf.h')
-rw-r--r--keyboards/tzarc/djinn/halconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/tzarc/djinn/halconf.h b/keyboards/tzarc/djinn/halconf.h
new file mode 100644
index 0000000000..ae3576cec0
--- /dev/null
+++ b/keyboards/tzarc/djinn/halconf.h
@@ -0,0 +1,14 @@
+// Copyright 2018-2022 Nick Brassel (@tzarc)
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#define HAL_USE_GPT TRUE
+#define HAL_USE_PWM TRUE
+#define HAL_USE_SPI TRUE
+#define HAL_USE_SERIAL TRUE
+#define SERIAL_BUFFERS_SIZE 256
+
+// This enables interrupt-driven mode
+#define PAL_USE_WAIT TRUE
+
+#include_next <halconf.h>