summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/Makefile
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-10-22 19:37:45 +0200
committerJack Humbert <jack.humb@gmail.com>2015-10-22 19:37:45 +0200
commitc966e7982c4fa42d7dae6b4f4dca6966b695a973 (patch)
treeeb08b6591c19c6e47f387ee444a3894ef974aff3 /keyboard/planck/Makefile
parent40148c430e76f8632cf96a1fda96e2dfa594975c (diff)
downloadqmk_firmware-c966e7982c4fa42d7dae6b4f4dca6966b695a973.tar.gz
qmk_firmware-c966e7982c4fa42d7dae6b4f4dca6966b695a973.tar.xz
bluetooth
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 2f0ba5ba9..d9e8ce788 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