From f47b3e451d36fdf580972a60e3239b7a54fb6830 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Thu, 15 Jun 2023 11:30:15 +0800 Subject: Add q4 pro --- keyboards/keychron/q4_pro/halconf.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 keyboards/keychron/q4_pro/halconf.h (limited to 'keyboards/keychron/q4_pro/halconf.h') diff --git a/keyboards/keychron/q4_pro/halconf.h b/keyboards/keychron/q4_pro/halconf.h new file mode 100755 index 0000000000..8d8e138e4e --- /dev/null +++ b/keyboards/keychron/q4_pro/halconf.h @@ -0,0 +1,29 @@ +/* Copyright 2023 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 . + */ + +#pragma once + +#define _CHIBIOS_HAL_CONF_VER_8_0_ + +#define HAL_USE_I2C TRUE + +#ifdef KC_BLUETOOTH_ENABLE +# define PAL_USE_CALLBACKS TRUE +# define HAL_USE_SERIAL TRUE +# define HAL_USE_RTC TRUE +#endif + +#include_next -- cgit v1.2.3