Browse Source

Add description in Bluetooth docs for requiring NKRO to be disabled (#10359)

pull/9900/head 0.10.17
Peter Landoll 3 years ago
committed by GitHub
parent
commit
0fbb1e550a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions
  1. +4
    -1
      docs/feature_bluetooth.md
  2. +7
    -3
      tmk_core/common.mk

+ 4
- 1
docs/feature_bluetooth.md View File

@ -26,7 +26,10 @@ A Bluefruit UART friend can be converted to an SPI friend, however this [require
<!-- FIXME: Document bluetooth support more completely. -->
## Bluetooth Rules.mk Options
Use only one of these
The currently supported Bluetooth chipsets do not support [N-Key Rollover (NKRO)](reference_glossary.md#n-key-rollover-nkro), so `rules.mk` must contain `NKRO_ENABLE = no`.
Use only one of these to enable Bluetooth:
* BLUETOOTH_ENABLE = yes (Legacy Option)
* BLUETOOTH = RN42
* BLUETOOTH = AdafruitBLE


+ 7
- 3
tmk_core/common.mk View File

@ -99,11 +99,15 @@ ifeq ($(strip $(COMMAND_ENABLE)), yes)
endif
ifeq ($(strip $(NKRO_ENABLE)), yes)
ifneq ($(PROTOCOL),VUSB)
ifeq ($(PROTOCOL), VUSB)
$(info NKRO is not currently supported on V-USB, and has been disabled.)
else ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
$(info NKRO is not currently supported with Bluetooth, and has been disabled.)
else ifneq ($(BLUETOOTH),)
$(info NKRO is not currently supported with Bluetooth, and has been disabled.)
else
TMK_COMMON_DEFS += -DNKRO_ENABLE
SHARED_EP_ENABLE = yes
else
$(info NKRO is not currently supported on V-USB, and has been disabled.)
endif
endif


Loading…
Cancel
Save