mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-30 21:38:01 +06:00
8f108d1bbc
Co-authored-by: jack <0x6a73@protonmail.com>
22 lines
663 B
Makefile
22 lines
663 B
Makefile
# Processor frequency
|
|
F_CPU = 8000000
|
|
|
|
# Build Options
|
|
# change yes to no to disable
|
|
#
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
|
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|
RGBLIGHT_ENABLE = yes
|
|
LTO_ENABLE = yes
|
|
|
|
# these lines are all for bluetooth
|
|
BLUETOOTH_ENABLE = yes
|
|
BLUETOOTH_DRIVER = custom
|
|
SRC += usart.c ble.c
|
|
OPT_DEFS += -DUART_RX1_BUFFER_SIZE=16 -DUART_TX1_BUFFER_SIZE=16
|
|
OPT_DEFS += -DUSART1_ENABLED
|