From c966e7982c4fa42d7dae6b4f4dca6966b695a973 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Thu, 22 Oct 2015 13:37:45 -0400 Subject: bluetooth --- keyboard/planck/Makefile | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'keyboard/planck/Makefile') diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile index 2f0ba5ba9d..d9e8ce7889 100644 --- a/keyboard/planck/Makefile +++ b/keyboard/planck/Makefile @@ -121,15 +121,16 @@ EXTRAKEY_ENABLE = yes # Audio control and System control(+450) CONSOLE_ENABLE = yes # Console for debug(+400) COMMAND_ENABLE = yes # Commands for debug and configuration # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend +# SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend # NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = YES # MIDI controls +# MIDI_ENABLE = YES # MIDI controls # UNICODE_ENABLE = YES # Unicode +# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID ifdef MIDI_ENABLE - SRC += keymap_midi.c \ - beeps.c + SRC += keymap_midi.c + # beeps.c endif ifdef UNICODE_ENABLE @@ -143,7 +144,18 @@ endif VPATH += $(TARGET_DIR) VPATH += $(TOP_DIR) -include $(TOP_DIR)/protocol/lufa.mk + + +ifdef BLUETOOTH_ENABLE + BLUEFRUIT_TRACE_SERIAL=true + + include $(TOP_DIR)/protocol.mk + include $(TOP_DIR)/protocol/bluefruit.mk + include $(TOP_DIR)/protocol.mk +else + include $(TOP_DIR)/protocol/lufa.mk +endif + include $(TOP_DIR)/common.mk include $(TOP_DIR)/rules.mk -- cgit v1.2.3