diff options
-rw-r--r-- | common_features.mk | 5 | ||||
-rw-r--r-- | drivers/bluetooth/adafruit_ble.cpp (renamed from tmk_core/protocol/lufa/adafruit_ble.cpp) | 0 | ||||
-rw-r--r-- | drivers/bluetooth/adafruit_ble.h (renamed from tmk_core/protocol/lufa/adafruit_ble.h) | 0 | ||||
-rw-r--r-- | drivers/bluetooth/outputselect.c (renamed from tmk_core/protocol/lufa/outputselect.c) | 0 | ||||
-rw-r--r-- | drivers/bluetooth/outputselect.h (renamed from tmk_core/protocol/lufa/outputselect.h) | 0 | ||||
-rw-r--r-- | drivers/bluetooth/ringbuffer.hpp (renamed from tmk_core/protocol/lufa/ringbuffer.hpp) | 0 |
6 files changed, 3 insertions, 2 deletions
diff --git a/common_features.mk b/common_features.mk index 4633ccce1..8b5ee071d 100644 --- a/common_features.mk +++ b/common_features.mk | |||
@@ -767,19 +767,20 @@ ifeq ($(strip $(USBPD_ENABLE)), yes) | |||
767 | endif | 767 | endif |
768 | 768 | ||
769 | BLUETOOTH_ENABLE ?= no | 769 | BLUETOOTH_ENABLE ?= no |
770 | VALID_BLUETOOTH_DRIVER_TYPES = AdafruitBLE RN42 custom | 770 | VALID_BLUETOOTH_DRIVER_TYPES := AdafruitBLE RN42 custom |
771 | ifeq ($(strip $(BLUETOOTH_ENABLE)), yes) | 771 | ifeq ($(strip $(BLUETOOTH_ENABLE)), yes) |
772 | ifeq ($(filter $(strip $(BLUETOOTH_DRIVER)),$(VALID_BLUETOOTH_DRIVER_TYPES)),) | 772 | ifeq ($(filter $(strip $(BLUETOOTH_DRIVER)),$(VALID_BLUETOOTH_DRIVER_TYPES)),) |
773 | $(error "$(BLUETOOTH_DRIVER)" is not a valid Bluetooth driver type) | 773 | $(error "$(BLUETOOTH_DRIVER)" is not a valid Bluetooth driver type) |
774 | endif | 774 | endif |
775 | OPT_DEFS += -DBLUETOOTH_ENABLE | 775 | OPT_DEFS += -DBLUETOOTH_ENABLE |
776 | NO_USB_STARTUP_CHECK := yes | 776 | NO_USB_STARTUP_CHECK := yes |
777 | COMMON_VPATH += $(DRIVER_PATH)/bluetooth | ||
777 | SRC += outputselect.c | 778 | SRC += outputselect.c |
778 | 779 | ||
779 | ifeq ($(strip $(BLUETOOTH_DRIVER)), AdafruitBLE) | 780 | ifeq ($(strip $(BLUETOOTH_DRIVER)), AdafruitBLE) |
780 | OPT_DEFS += -DMODULE_ADAFRUIT_BLE | 781 | OPT_DEFS += -DMODULE_ADAFRUIT_BLE |
781 | SRC += analog.c | 782 | SRC += analog.c |
782 | SRC += $(LUFA_DIR)/adafruit_ble.cpp | 783 | SRC += $(DRIVER_PATH)/bluetooth/adafruit_ble.cpp |
783 | QUANTUM_LIB_SRC += spi_master.c | 784 | QUANTUM_LIB_SRC += spi_master.c |
784 | endif | 785 | endif |
785 | 786 | ||
diff --git a/tmk_core/protocol/lufa/adafruit_ble.cpp b/drivers/bluetooth/adafruit_ble.cpp index 3f2cc3573..3f2cc3573 100644 --- a/tmk_core/protocol/lufa/adafruit_ble.cpp +++ b/drivers/bluetooth/adafruit_ble.cpp | |||
diff --git a/tmk_core/protocol/lufa/adafruit_ble.h b/drivers/bluetooth/adafruit_ble.h index b43e0771d..b43e0771d 100644 --- a/tmk_core/protocol/lufa/adafruit_ble.h +++ b/drivers/bluetooth/adafruit_ble.h | |||
diff --git a/tmk_core/protocol/lufa/outputselect.c b/drivers/bluetooth/outputselect.c index f758c6528..f758c6528 100644 --- a/tmk_core/protocol/lufa/outputselect.c +++ b/drivers/bluetooth/outputselect.c | |||
diff --git a/tmk_core/protocol/lufa/outputselect.h b/drivers/bluetooth/outputselect.h index c4548e112..c4548e112 100644 --- a/tmk_core/protocol/lufa/outputselect.h +++ b/drivers/bluetooth/outputselect.h | |||
diff --git a/tmk_core/protocol/lufa/ringbuffer.hpp b/drivers/bluetooth/ringbuffer.hpp index 70a3c4881..70a3c4881 100644 --- a/tmk_core/protocol/lufa/ringbuffer.hpp +++ b/drivers/bluetooth/ringbuffer.hpp | |||