diff options
author | Wez Furlong <[email protected]> | 2016-11-27 22:48:04 -0800 |
---|---|---|
committer | Wez Furlong <[email protected]> | 2016-11-27 23:49:44 -0800 |
commit | 712476cd288505cabb2ad6163d1c1ba13a7a1cca (patch) | |
tree | 92c1ddd43fe1d86940d4a94dc545fabd01904f2a /tmk_core/common.mk | |
parent | 8485bb34d2e291db5b6c81f892850da1cdca37ba (diff) | |
download | qmk_firmware-712476cd288505cabb2ad6163d1c1ba13a7a1cca.tar.gz qmk_firmware-712476cd288505cabb2ad6163d1c1ba13a7a1cca.zip |
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.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk index f826a7b540..c32a12bb6f 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 |