summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/planck/Makefile')
-rw-r--r--keyboard/planck/Makefile22
1 files changed, 17 insertions, 5 deletions
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