diff options
author | lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> | 2023-05-19 18:39:23 +0800 |
---|---|---|
committer | lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> | 2023-05-19 18:39:23 +0800 |
commit | 0358e541d530016de757d718bcccc7087fcaab69 (patch) | |
tree | 7024b74d72dbef9ab4c4cfca4f53c734e9545d4b /keyboards/keychron/q8_pro/halconf.h | |
parent | 3d895c8b25da81f1cee93bbfa625f98a96c543e7 (diff) |
Add q8_pro
Diffstat (limited to 'keyboards/keychron/q8_pro/halconf.h')
-rwxr-xr-x | keyboards/keychron/q8_pro/halconf.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/keychron/q8_pro/halconf.h b/keyboards/keychron/q8_pro/halconf.h new file mode 100755 index 0000000000..b0ca1150f6 --- /dev/null +++ b/keyboards/keychron/q8_pro/halconf.h @@ -0,0 +1,30 @@ +/* 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 <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#define _CHIBIOS_HAL_CONF_VER_8_0_ + +#define HAL_USE_I2C TRUE +#define HAL_USE_SPI TRUE + +#ifdef KC_BLUETOOTH_ENABLE +# define PAL_USE_CALLBACKS TRUE +# define HAL_USE_SERIAL TRUE +# define HAL_USE_RTC TRUE +#endif + +#include_next <halconf.h> |