Move Bluetooth config to common_features.mk (#14404)
* Move Bluetooth config to common_features.mk * Update common_features.mk Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
		
							parent
							
								
									0fa217a5b7
								
							
						
					
					
						commit
						bcf4551f74
					
				
					 31 changed files with 78 additions and 99 deletions
				
			
		| 
						 | 
				
			
			@ -4,10 +4,10 @@
 | 
			
		|||
 | 
			
		||||
Currently Bluetooth support is limited to AVR based chips. For Bluetooth 2.1, QMK has support for RN-42 modules. For more recent BLE protocols, currently only the Adafruit Bluefruit SPI Friend is directly supported. BLE is needed to connect to iOS devices. Note iOS does not support mouse input.
 | 
			
		||||
 | 
			
		||||
|Board                                                           |Bluetooth Protocol          |Connection Type |rules.mk                   |Bluetooth Chip|
 | 
			
		||||
|----------------------------------------------------------------|----------------------------|----------------|---------------------------|--------------|
 | 
			
		||||
|Roving Networks RN-42 (Sparkfun Bluesmirf)                       |Bluetooth Classic           | UART           |`BLUETOOTH = RN42`          | RN-42        |
 | 
			
		||||
|[Bluefruit LE SPI Friend](https://www.adafruit.com/product/2633)|Bluetooth Low Energy        | SPI            |`BLUETOOTH = AdafruitBLE`   | nRF51822      |
 | 
			
		||||
|Board                                                           |Bluetooth Protocol  |Connection Type|rules.mk                        |Bluetooth Chip|
 | 
			
		||||
|----------------------------------------------------------------|--------------------|---------------|--------------------------------|--------------|
 | 
			
		||||
|Roving Networks RN-42 (Sparkfun Bluesmirf)                      |Bluetooth Classic   |UART           |`BLUETOOTH_DRIVER = RN42`       |RN-42         |
 | 
			
		||||
|[Bluefruit LE SPI Friend](https://www.adafruit.com/product/2633)|Bluetooth Low Energy|SPI            |`BLUETOOTH_DRIVER = AdafruitBLE`|nRF51822      |
 | 
			
		||||
 | 
			
		||||
Not Supported Yet but possible:
 | 
			
		||||
* [Bluefruit LE UART Friend](https://www.adafruit.com/product/2479). [Possible tmk implementation found in](https://github.com/tmk/tmk_keyboard/issues/514)
 | 
			
		||||
| 
						 | 
				
			
			@ -23,16 +23,17 @@ Currently The only bluetooth chipset supported by QMK is the Adafruit Bluefruit
 | 
			
		|||
 | 
			
		||||
A Bluefruit UART friend can be converted to an SPI friend, however this [requires](https://github.com/qmk/qmk_firmware/issues/2274) some reflashing and soldering directly to the MDBT40 chip.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<!-- FIXME: Document bluetooth support more completely. -->
 | 
			
		||||
## Bluetooth Rules.mk Options
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
Add the following to your `rules.mk`:
 | 
			
		||||
 | 
			
		||||
```makefile
 | 
			
		||||
BLUETOOTH_ENABLE = yes
 | 
			
		||||
BLUETOOTH_DRIVER = AdafruitBLE # or RN42
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Bluetooth Keycodes
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue