summaryrefslogtreecommitdiffstats
path: root/keyboards/oneplus/81_pro/halconf.h
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2023-07-12 16:51:19 +0800
committerlokher <lokher@gmail.com>2023-07-12 16:51:19 +0800
commit627f1d1c5d750059a7923932102d33f860f5deed (patch)
treede76a30353ce3ac482dc6f0acf53356b82ada35f /keyboards/oneplus/81_pro/halconf.h
parent544178a8c785884365855b26ec0e0d7514f80c5b (diff)
add Oneplus 81 pro
Diffstat (limited to 'keyboards/oneplus/81_pro/halconf.h')
-rw-r--r--keyboards/oneplus/81_pro/halconf.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/oneplus/81_pro/halconf.h b/keyboards/oneplus/81_pro/halconf.h
new file mode 100644
index 0000000000..889c52bbce
--- /dev/null
+++ b/keyboards/oneplus/81_pro/halconf.h
@@ -0,0 +1,29 @@
+/* Copyright 2020 QMK
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#define _CHIBIOS_HAL_CONF_VER_8_0_
+
+#define HAL_USE_I2C TRUE
+#define PAL_USE_CALLBACKS TRUE
+
+#ifdef KC_BLUETOOTH_ENABLE
+# define HAL_USE_SERIAL TRUE
+# define HAL_USE_RTC TRUE
+#endif
+
+#include_next <halconf.h>