summaryrefslogtreecommitdiffstats
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
authorWez Furlong <wez@fb.com>2016-11-28 07:48:04 +0100
committerWez Furlong <wez@fb.com>2016-11-28 08:49:44 +0100
commit712476cd288505cabb2ad6163d1c1ba13a7a1cca (patch)
tree92c1ddd43fe1d86940d4a94dc545fabd01904f2a /tmk_core/common.mk
parent8485bb34d2e291db5b6c81f892850da1cdca37ba (diff)
downloadqmk_firmware-712476cd288505cabb2ad6163d1c1ba13a7a1cca.tar.gz
qmk_firmware-712476cd288505cabb2ad6163d1c1ba13a7a1cca.tar.xz
Add support for Adafruit BLE modules
This implements some helper functions that allow sending key reports to an SPI based Bluetooth Low Energy module, such as the Adafruit Feather 32u4 Bluefruit LE. There is some plumbing required in lufa.c to enable this; that is in a follow-on commit.
Diffstat (limited to 'tmk_core/common.mk')
-rw-r--r--tmk_core/common.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index f826a7b54..c32a12bb6 100644
--- a/tmk_core/common.mk
+++ b/tmk_core/common.mk
@@ -81,6 +81,10 @@ ifeq ($(strip $(BACKLIGHT_ENABLE)), yes)
TMK_COMMON_DEFS += -DBACKLIGHT_ENABLE
endif
+ifeq ($(strip $(ADAFRUIT_BLE_ENABLE)), yes)
+ TMK_COMMON_DEFS += -DADAFRUIT_BLE_ENABLE
+endif
+
ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
TMK_COMMON_DEFS += -DBLUETOOTH_ENABLE
endif
@@ -110,4 +114,4 @@ endif
VPATH += $(TMK_PATH)/$(COMMON_DIR)
ifeq ($(PLATFORM),CHIBIOS)
VPATH += $(TMK_PATH)/$(COMMON_DIR)/chibios
-endif \ No newline at end of file
+endif