summaryrefslogtreecommitdiff
path: root/keyboards/bioi/g60ble/rules.mk
diff options
context:
space:
mode:
authorWill Hedges <36576135+will-hedges@users.noreply.github.com>2023-06-05 15:34:22 -0500
committerGitHub <noreply@github.com>2023-06-05 14:34:22 -0600
commit8f108d1bbcdc60434b149cea3adb99b626c01348 (patch)
tree85f18c6c3c9cdd91e8446440a8c600015db714d6 /keyboards/bioi/g60ble/rules.mk
parent7b57c4ecf68355cca87f4a0ece9634a62a36ef9e (diff)
[Keyboard] Upddate bioi/G60BLE to use bluetooth (#21120)
Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/bioi/g60ble/rules.mk')
-rw-r--r--keyboards/bioi/g60ble/rules.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/bioi/g60ble/rules.mk b/keyboards/bioi/g60ble/rules.mk
index e3420b4a28..d1edb6882d 100644
--- a/keyboards/bioi/g60ble/rules.mk
+++ b/keyboards/bioi/g60ble/rules.mk
@@ -4,12 +4,18 @@ F_CPU = 8000000
# Build Options
# change yes to no to disable
#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
+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
-NKRO_ENABLE = yes # Enable N-Key Rollover
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