diff options
author | Ole Anders <git@swoy.org> | 2017-03-28 15:55:33 +0200 |
---|---|---|
committer | Ole Anders <git@swoy.org> | 2017-03-28 15:55:33 +0200 |
commit | 62faa20ef6ddab7dacc74123b2253cf25b5c20f7 (patch) | |
tree | 281ae30283f7491b2529465da4897dc2ddd7088c /tmk_core/protocol/lufa.mk | |
parent | d5ee0194abf5cc9df4086a89ad78cf188352028a (diff) | |
parent | 5e4daf1c6db980fad269fe7b013205008bfe701e (diff) | |
download | qmk_firmware-62faa20ef6ddab7dacc74123b2253cf25b5c20f7.tar.gz qmk_firmware-62faa20ef6ddab7dacc74123b2253cf25b5c20f7.zip |
Merge remote-tracking branch 'refs/remotes/qmk/master'
Diffstat (limited to 'tmk_core/protocol/lufa.mk')
-rw-r--r-- | tmk_core/protocol/lufa.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tmk_core/protocol/lufa.mk b/tmk_core/protocol/lufa.mk index de0cc795f6..5b15779723 100644 --- a/tmk_core/protocol/lufa.mk +++ b/tmk_core/protocol/lufa.mk @@ -22,11 +22,16 @@ ifeq ($(strip $(MIDI_ENABLE)), yes) include $(TMK_PATH)/protocol/midi.mk endif -ifeq ($(strip $(ADAFRUIT_BLE_ENABLE)), yes) - LUFA_SRC += $(LUFA_DIR)/adafruit_ble.cpp +ifeq ($(strip $(BLUETOOTH_ENABLE)), yes) + LUFA_SRC += $(LUFA_DIR)/bluetooth.c \ + $(TMK_DIR)/protocol/serial_uart.c endif -ifeq ($(strip $(BLUETOOTH_ENABLE)), yes) +ifeq ($(strip $(BLUETOOTH)), AdafruitBLE) + LUFA_SRC += $(LUFA_DIR)/adafruit_ble.cpp +endif + +ifeq ($(strip $(BLUETOOTH)), AdafruitEZKey) LUFA_SRC += $(LUFA_DIR)/bluetooth.c \ $(TMK_DIR)/protocol/serial_uart.c endif @@ -54,6 +59,7 @@ LUFA_OPTS += -DUSE_FLASH_DESCRIPTORS LUFA_OPTS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" #LUFA_OPTS += -DINTERRUPT_CONTROL_ENDPOINT LUFA_OPTS += -DFIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -DFIXED_CONTROL_ENDPOINT_SIZE=8 LUFA_OPTS += -DFIXED_NUM_CONFIGURATIONS=1 # Remote wakeup fix for ATmega32U2 https://github.com/tmk/tmk_keyboard/issues/361 |