Browse Source

Bluetooth: driver naming cleanups (#21624)

pull/21640/head
Ryan 9 months ago
committed by GitHub
parent
commit
b4a7b9253a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
55 changed files with 88 additions and 43 deletions
  1. +3
    -3
      builddefs/common_features.mk
  2. +0
    -1
      builddefs/show_options.mk
  3. +1
    -1
      data/schemas/keyboard.jsonschema
  4. +1
    -1
      docs/config_options.md
  5. +5
    -5
      docs/feature_bluetooth.md
  6. +3
    -0
      keyboards/10bleoledhub/info.json
  7. +0
    -1
      keyboards/10bleoledhub/rules.mk
  8. +1
    -1
      keyboards/40percentclub/mf68/keymaps/mf68_ble/rules.mk
  9. +4
    -1
      keyboards/atreus/feather/info.json
  10. +0
    -1
      keyboards/atreus/feather/rules.mk
  11. +3
    -0
      keyboards/bioi/g60/info.json
  12. +0
    -1
      keyboards/bioi/g60/rules.mk
  13. +3
    -0
      keyboards/bioi/g60ble/info.json
  14. +0
    -1
      keyboards/bioi/g60ble/rules.mk
  15. +3
    -0
      keyboards/bioi/morgan65/info.json
  16. +0
    -1
      keyboards/bioi/morgan65/rules.mk
  17. +1
    -1
      keyboards/converter/m0110_usb/readme.md
  18. +4
    -1
      keyboards/converter/usb_usb/ble/info.json
  19. +0
    -1
      keyboards/converter/usb_usb/ble/rules.mk
  20. +3
    -0
      keyboards/dtisaac/dosa40rgb/info.json
  21. +0
    -1
      keyboards/dtisaac/dosa40rgb/rules.mk
  22. +3
    -0
      keyboards/handwired/42/info.json
  23. +0
    -1
      keyboards/handwired/42/rules.mk
  24. +3
    -0
      keyboards/handwired/bdn9_ble/info.json
  25. +0
    -1
      keyboards/handwired/bdn9_ble/rules.mk
  26. +3
    -0
      keyboards/handwired/fruity60/info.json
  27. +0
    -1
      keyboards/handwired/fruity60/rules.mk
  28. +3
    -0
      keyboards/handwired/hacked_motospeed/info.json
  29. +0
    -1
      keyboards/handwired/hacked_motospeed/rules.mk
  30. +3
    -0
      keyboards/handwired/osborne1/info.json
  31. +0
    -1
      keyboards/handwired/osborne1/rules.mk
  32. +3
    -0
      keyboards/handwired/prkl30/feather/info.json
  33. +0
    -1
      keyboards/handwired/prkl30/feather/rules.mk
  34. +3
    -0
      keyboards/handwired/promethium/info.json
  35. +0
    -1
      keyboards/handwired/promethium/rules.mk
  36. +3
    -0
      keyboards/handwired/pterodactyl/info.json
  37. +0
    -1
      keyboards/handwired/pterodactyl/rules.mk
  38. +3
    -0
      keyboards/handwired/slash/info.json
  39. +0
    -1
      keyboards/handwired/slash/rules.mk
  40. +3
    -0
      keyboards/hhkb/yang/info.json
  41. +0
    -3
      keyboards/hhkb/yang/rules.mk
  42. +3
    -0
      keyboards/latincompass/latin47ble/info.json
  43. +0
    -1
      keyboards/latincompass/latin47ble/rules.mk
  44. +3
    -0
      keyboards/latincompass/latin64ble/info.json
  45. +0
    -1
      keyboards/latincompass/latin64ble/rules.mk
  46. +1
    -1
      keyboards/latincompass/latinpadble/info.json
  47. +3
    -0
      keyboards/nek_type_a/info.json
  48. +0
    -1
      keyboards/nek_type_a/rules.mk
  49. +4
    -1
      keyboards/spaceman/pancake/rev1/feather/info.json
  50. +0
    -1
      keyboards/spaceman/pancake/rev1/feather/rules.mk
  51. +3
    -0
      keyboards/tokyokeyboard/alix40/info.json
  52. +0
    -1
      keyboards/tokyokeyboard/alix40/rules.mk
  53. +5
    -0
      keyboards/woodkeys/meira/featherble/info.json
  54. +0
    -1
      keyboards/woodkeys/meira/featherble/rules.mk
  55. +1
    -1
      users/wanleg/rules.mk

+ 3
- 3
builddefs/common_features.mk View File

@ -903,7 +903,7 @@ ifeq ($(strip $(USBPD_ENABLE)), yes)
endif endif
BLUETOOTH_ENABLE ?= no BLUETOOTH_ENABLE ?= no
VALID_BLUETOOTH_DRIVER_TYPES := BluefruitLE RN42 custom
VALID_BLUETOOTH_DRIVER_TYPES := bluefruit_le custom rn42
ifeq ($(strip $(BLUETOOTH_ENABLE)), yes) ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
ifeq ($(filter $(strip $(BLUETOOTH_DRIVER)),$(VALID_BLUETOOTH_DRIVER_TYPES)),) ifeq ($(filter $(strip $(BLUETOOTH_DRIVER)),$(VALID_BLUETOOTH_DRIVER_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid BLUETOOTH_DRIVER,BLUETOOTH_DRIVER="$(BLUETOOTH_DRIVER)" is not a valid Bluetooth driver type) $(call CATASTROPHIC_ERROR,Invalid BLUETOOTH_DRIVER,BLUETOOTH_DRIVER="$(BLUETOOTH_DRIVER)" is not a valid Bluetooth driver type)
@ -913,7 +913,7 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
COMMON_VPATH += $(DRIVER_PATH)/bluetooth COMMON_VPATH += $(DRIVER_PATH)/bluetooth
SRC += outputselect.c SRC += outputselect.c
ifeq ($(strip $(BLUETOOTH_DRIVER)), BluefruitLE)
ifeq ($(strip $(BLUETOOTH_DRIVER)), bluefruit_le)
OPT_DEFS += -DBLUETOOTH_BLUEFRUIT_LE -DHAL_USE_SPI=TRUE OPT_DEFS += -DBLUETOOTH_BLUEFRUIT_LE -DHAL_USE_SPI=TRUE
SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le.cpp SRC += $(DRIVER_PATH)/bluetooth/bluefruit_le.cpp
@ -921,7 +921,7 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
QUANTUM_LIB_SRC += spi_master.c QUANTUM_LIB_SRC += spi_master.c
endif endif
ifeq ($(strip $(BLUETOOTH_DRIVER)), RN42)
ifeq ($(strip $(BLUETOOTH_DRIVER)), rn42)
OPT_DEFS += -DBLUETOOTH_RN42 -DHAL_USE_SERIAL=TRUE OPT_DEFS += -DBLUETOOTH_RN42 -DHAL_USE_SERIAL=TRUE
SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c SRC += $(DRIVER_PATH)/bluetooth/bluetooth.c
SRC += $(DRIVER_PATH)/bluetooth/rn42.c SRC += $(DRIVER_PATH)/bluetooth/rn42.c


+ 0
- 1
builddefs/show_options.mk View File

@ -60,7 +60,6 @@ OTHER_OPTION_NAMES = \
ENCODER_ENABLE_CUSTOM \ ENCODER_ENABLE_CUSTOM \
GERMAN_ENABLE \ GERMAN_ENABLE \
HAPTIC_ENABLE \ HAPTIC_ENABLE \
HHKB_RN42_ENABLE \
ISSI_ENABLE \ ISSI_ENABLE \
KEYLOGGER_ENABLE \ KEYLOGGER_ENABLE \
LCD_BACKLIGHT_ENABLE \ LCD_BACKLIGHT_ENABLE \


+ 1
- 1
data/schemas/keyboard.jsonschema View File

@ -148,7 +148,7 @@
"properties": { "properties": {
"driver": { "driver": {
"type": "string", "type": "string",
"enum": ["BluefruitLE", "RN42", "custom"]
"enum": ["bluefruit_le", "custom", "rn42"]
} }
} }
}, },


+ 1
- 1
docs/config_options.md View File

@ -439,7 +439,7 @@ Use these to enable or disable building certain features. The more you have enab
* `UNICODE_ENABLE` * `UNICODE_ENABLE`
* Unicode * Unicode
* `BLUETOOTH_ENABLE` * `BLUETOOTH_ENABLE`
* Current options are BluefruitLE, RN42
* Current options are bluefruit_le, rn42
* `SPLIT_KEYBOARD` * `SPLIT_KEYBOARD`
* Enables split keyboard support (dual MCU like the let's split and bakingpy's boards) and includes all necessary files located at quantum/split_common * Enables split keyboard support (dual MCU like the let's split and bakingpy's boards) and includes all necessary files located at quantum/split_common
* `CUSTOM_MATRIX` * `CUSTOM_MATRIX`


+ 5
- 5
docs/feature_bluetooth.md View File

@ -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. 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_DRIVER = RN42` |RN-42 |
|[Bluefruit LE SPI Friend](https://www.adafruit.com/product/2633)|Bluetooth Low Energy|SPI |`BLUETOOTH_DRIVER = BluefruitLE`|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 = bluefruit_le`|nRF51822 |
Not Supported Yet but possible: 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) * [Bluefruit LE UART Friend](https://www.adafruit.com/product/2479). [Possible tmk implementation found in](https://github.com/tmk/tmk_keyboard/issues/514)
@ -32,7 +32,7 @@ Add the following to your `rules.mk`:
```make ```make
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE # or RN42
BLUETOOTH_DRIVER = bluefruit_le # or rn42
``` ```
## Bluetooth Keycodes ## Bluetooth Keycodes


+ 3
- 0
keyboards/10bleoledhub/info.json View File

@ -8,6 +8,9 @@
"pid": "0x7C99", "pid": "0x7C99",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"rgblight": { "rgblight": {
"led_count": 4 "led_count": 4
}, },


+ 0
- 1
keyboards/10bleoledhub/rules.mk View File

@ -14,7 +14,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
OLED_ENABLE = yes OLED_ENABLE = yes
OLED_DRIVER = SSD1306 OLED_DRIVER = SSD1306
ENCODER_ENABLE = yes ENCODER_ENABLE = yes

+ 1
- 1
keyboards/40percentclub/mf68/keymaps/mf68_ble/rules.mk View File

@ -5,5 +5,5 @@ F_CPU = 8000000
# change yes to no to disable # change yes to no to disable
# #
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
BLUETOOTH_DRIVER = bluefruit_le
BACKLIGHT_ENABLE = no BACKLIGHT_ENABLE = no

+ 4
- 1
keyboards/atreus/feather/info.json View File

@ -5,5 +5,8 @@
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina"
"bootloader": "caterina",
"bluetooth": {
"driver": "bluefruit_le"
}
} }

+ 0
- 1
keyboards/atreus/feather/rules.mk View File

@ -5,5 +5,4 @@ F_CPU = 8000000
# change yes to no to disable # change yes to no to disable
# #
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
CONSOLE_ENABLE = no CONSOLE_ENABLE = no

+ 3
- 0
keyboards/bioi/g60/info.json View File

@ -25,6 +25,9 @@
"ws2812": { "ws2812": {
"pin": "B1" "pin": "B1"
}, },
"bluetooth": {
"driver": "custom"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "qmk-dfu", "bootloader": "qmk-dfu",
"layouts": { "layouts": {


+ 0
- 1
keyboards/bioi/g60/rules.mk View File

@ -15,7 +15,6 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes # Reduce firmware size LTO_ENABLE = yes # Reduce firmware size
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = custom
VIA_ENABLE = yes # VIA support should be enabled here due to the main() loop will be compiled first. VIA_ENABLE = yes # VIA support should be enabled here due to the main() loop will be compiled first.


+ 3
- 0
keyboards/bioi/g60ble/info.json View File

@ -25,6 +25,9 @@
"ws2812": { "ws2812": {
"pin": "B1" "pin": "B1"
}, },
"bluetooth": {
"driver": "custom"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "qmk-dfu", "bootloader": "qmk-dfu",
"community_layouts": ["60_ansi", "60_iso", "60_hhkb", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], "community_layouts": ["60_ansi", "60_iso", "60_hhkb", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"],


+ 0
- 1
keyboards/bioi/g60ble/rules.mk View File

@ -15,7 +15,6 @@ LTO_ENABLE = yes
# these lines are all for bluetooth # these lines are all for bluetooth
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = custom
SRC += usart.c ble.c SRC += usart.c ble.c
OPT_DEFS += -DUART_RX1_BUFFER_SIZE=16 -DUART_TX1_BUFFER_SIZE=16 OPT_DEFS += -DUART_RX1_BUFFER_SIZE=16 -DUART_TX1_BUFFER_SIZE=16
OPT_DEFS += -DUSART1_ENABLED OPT_DEFS += -DUSART1_ENABLED

+ 3
- 0
keyboards/bioi/morgan65/info.json View File

@ -25,6 +25,9 @@
"ws2812": { "ws2812": {
"pin": "B1" "pin": "B1"
}, },
"bluetooth": {
"driver": "custom"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "qmk-dfu", "bootloader": "qmk-dfu",
"community_layouts": [ "community_layouts": [


+ 0
- 1
keyboards/bioi/morgan65/rules.mk View File

@ -15,7 +15,6 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes # Reduce firmware size LTO_ENABLE = yes # Reduce firmware size
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = custom
VIA_ENABLE = yes # VIA support should be enabled here due to the main() loop will be compiled first. VIA_ENABLE = yes # VIA support should be enabled here due to the main() loop will be compiled first.


+ 1
- 1
keyboards/converter/m0110_usb/readme.md View File

@ -5,7 +5,7 @@ This is a port of the original M0110 converter from TMK to QMK. The original con
## Enabling Bluetooth for the Adafruit Feather 32U4 BLE ## Enabling Bluetooth for the Adafruit Feather 32U4 BLE
Simply add `BLUETOOTH = BluefruitLE` to your `rules.mk` file. This enables code specifically for the Adafruit Feather 32U4 BLE. If enabled, the device will use the `PRODUCT` value from `config.h` for the device name displayed by the Feather on host devices. You can simply change these values to change the device name.
Simply add `BLUETOOTH = bluefruit_le` to your `rules.mk` file. This enables code specifically for the Adafruit Feather 32U4 BLE. If enabled, the device will use the `PRODUCT` value from `config.h` for the device name displayed by the Feather on host devices. You can simply change these values to change the device name.
## Pins ## Pins


+ 4
- 1
keyboards/converter/usb_usb/ble/info.json View File

@ -1,3 +1,6 @@
{ {
"bootloader": "caterina"
"bootloader": "caterina",
"bluetooth": {
"driver": "bluefruit_le"
}
} }

+ 0
- 1
keyboards/converter/usb_usb/ble/rules.mk View File

@ -3,5 +3,4 @@ F_CPU = 8000000
EXTRAKEY_ENABLE = no EXTRAKEY_ENABLE = no
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
LTO_ENABLE = yes LTO_ENABLE = yes

+ 3
- 0
keyboards/dtisaac/dosa40rgb/info.json View File

@ -8,6 +8,9 @@
"pid": "0x4973", "pid": "0x4973",
"device_version": "0.0.4" "device_version": "0.0.4"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"ws2812": { "ws2812": {
"pin": "D0" "pin": "D0"
}, },


+ 0
- 1
keyboards/dtisaac/dosa40rgb/rules.mk View File

@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes # Enable Bluetooth BLUETOOTH_ENABLE = yes # Enable Bluetooth
BLUETOOTH_DRIVER = BluefruitLE
RGB_MATRIX_ENABLE = yes RGB_MATRIX_ENABLE = yes
LTO_ENABLE = yes LTO_ENABLE = yes

+ 3
- 0
keyboards/handwired/42/info.json View File

@ -8,6 +8,9 @@
"pid": "0x0000", "pid": "0x0000",
"device_version": "0.0.3" "device_version": "0.0.3"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"tapping": { "tapping": {
"term": 100 "term": 100
}, },


+ 0
- 1
keyboards/handwired/42/rules.mk View File

@ -15,4 +15,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 3
- 0
keyboards/handwired/bdn9_ble/info.json View File

@ -8,6 +8,9 @@
"pid": "0x1134", "pid": "0x1134",
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"backlight": { "backlight": {
"driver": "timer", "driver": "timer",
"pin": "F6", "pin": "F6",


+ 0
- 1
keyboards/handwired/bdn9_ble/rules.mk View File

@ -15,4 +15,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = no ENCODER_ENABLE = no
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 3
- 0
keyboards/handwired/fruity60/info.json View File

@ -8,6 +8,9 @@
"pid": "0xB170", "pid": "0xB170",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"matrix_pins": { "matrix_pins": {
"cols": ["F7", "F6", "F5", "F4", "F1", "F0", "D2", "D3", "B7", "D6", "C7"], "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "D2", "D3", "B7", "D6", "C7"],
"rows": ["B6", "B5", "D7", "C6", "D0", "D1"] "rows": ["B6", "B5", "D7", "C6", "D0", "D1"]


+ 0
- 1
keyboards/handwired/fruity60/rules.mk View File

@ -14,4 +14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 3
- 0
keyboards/handwired/hacked_motospeed/info.json View File

@ -8,6 +8,9 @@
"pid": "0x0690", "pid": "0x0690",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"bluetooth": {
"driver": "rn42"
},
"matrix_pins": { "matrix_pins": {
"cols": ["F7", "F6", "F5", "F4", "F3", "F2", "E0", "E1", "C0", "C1", "C2", "C3"], "cols": ["F7", "F6", "F5", "F4", "F3", "F2", "E0", "E1", "C0", "C1", "C2", "C3"],
"rows": ["B3", "B4", "F1", "B5", "B6", "D5", "D4", "D6", "D7", "C4"] "rows": ["B3", "B4", "F1", "B5", "B6", "D5", "D4", "D6", "D7", "C4"]


+ 0
- 1
keyboards/handwired/hacked_motospeed/rules.mk View File

@ -12,4 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = RN42

+ 3
- 0
keyboards/handwired/osborne1/info.json View File

@ -12,6 +12,9 @@
"mousekey": false, "mousekey": false,
"nkro": false "nkro": false
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"matrix_pins": { "matrix_pins": {
"cols": ["D3", "D2", "F0", "F1", "F4", "F5", "F6", "F7"], "cols": ["D3", "D2", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["D0", "B7", "B5", "C6", "D1", "B6", "D7", "D6"] "rows": ["D0", "B7", "B5", "C6", "D1", "B6", "D7", "D6"]


+ 0
- 1
keyboards/handwired/osborne1/rules.mk View File

@ -1,2 +1 @@
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 3
- 0
keyboards/handwired/prkl30/feather/info.json View File

@ -7,6 +7,9 @@
"ws2812": { "ws2812": {
"pin": "D1" "pin": "D1"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"matrix_pins": { "matrix_pins": {
"cols": ["D3", "D1", "B7", "D6", "C7", "B6", "B5", "D7", "C6", "D0"], "cols": ["D3", "D1", "B7", "D6", "C7", "B6", "B5", "D7", "C6", "D0"],
"rows": ["F4", "F1", "F0", "D2"] "rows": ["F4", "F1", "F0", "D2"]


+ 0
- 1
keyboards/handwired/prkl30/feather/rules.mk View File

@ -16,4 +16,3 @@ AUDIO_ENABLE = no # This can be enabled if a speaker is connected to t
RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port.
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 3
- 0
keyboards/handwired/promethium/info.json View File

@ -11,6 +11,9 @@
"ws2812": { "ws2812": {
"pin": "B5" "pin": "B5"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"layouts": { "layouts": {


+ 0
- 1
keyboards/handwired/promethium/rules.mk View File

@ -18,7 +18,6 @@ PS2_ENABLE = yes
PS2_DRIVER = interrupt PS2_DRIVER = interrupt
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
WS2812_DRIVER_REQUIRED = yes WS2812_DRIVER_REQUIRED = yes
SRC += rgbsps.c SRC += rgbsps.c


+ 3
- 0
keyboards/handwired/pterodactyl/info.json View File

@ -14,6 +14,9 @@
"tapping": { "tapping": {
"toggle": 1 "toggle": 1
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"layouts": { "layouts": {
"LAYOUT_pterodactyl": { "LAYOUT_pterodactyl": {
"layout": [ "layout": [


+ 0
- 1
keyboards/handwired/pterodactyl/rules.mk View File

@ -16,7 +16,6 @@ AUDIO_ENABLE = no # Audio output
UNICODE_ENABLE = yes UNICODE_ENABLE = yes
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
SRC += matrix.c SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c QUANTUM_LIB_SRC += i2c_master.c

+ 3
- 0
keyboards/handwired/slash/info.json View File

@ -8,6 +8,9 @@
"pid": "0x0000", "pid": "0x0000",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"matrix_pins": { "matrix_pins": {
"cols": ["D2", "F0", "F1", "F4", "F5", "F6", "F7", "D3"], "cols": ["D2", "F0", "F1", "F4", "F5", "F6", "F7", "D3"],
"rows": ["C7", "D6", "B7", "B6", "B5", "D7", "C6", "D0"] "rows": ["C7", "D6", "B7", "B6", "B5", "D7", "C6", "D0"]


+ 0
- 1
keyboards/handwired/slash/rules.mk View File

@ -14,4 +14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 3
- 0
keyboards/hhkb/yang/info.json View File

@ -11,6 +11,9 @@
"indicators": { "indicators": {
"caps_lock": "F4" "caps_lock": "F4"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "lufa-ms", "bootloader": "lufa-ms",
"debounce": 0, "debounce": 0,


+ 0
- 3
keyboards/hhkb/yang/rules.mk View File

@ -11,9 +11,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # USB Nkey Rollover NKRO_ENABLE = no # USB Nkey Rollover
# Disable bluetooth until the UART code is merged
BLUETOOTH_DRIVER = BluefruitLE
# Custom matrix file for the HHKB # Custom matrix file for the HHKB
CUSTOM_MATRIX = lite CUSTOM_MATRIX = lite
SRC += matrix.c SRC += matrix.c

+ 3
- 0
keyboards/latincompass/latin47ble/info.json View File

@ -21,6 +21,9 @@
"tapping": { "tapping": {
"term": 250 "term": 250
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"ws2812": { "ws2812": {
"pin": "B7" "pin": "B7"
}, },


+ 0
- 1
keyboards/latincompass/latin47ble/rules.mk View File

@ -14,4 +14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 3
- 0
keyboards/latincompass/latin64ble/info.json View File

@ -8,6 +8,9 @@
"pid": "0x6C71", "pid": "0x6C71",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"rgblight": { "rgblight": {
"brightness_steps": 25, "brightness_steps": 25,
"led_count": 2 "led_count": 2


+ 0
- 1
keyboards/latincompass/latin64ble/rules.mk View File

@ -14,4 +14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 1
- 1
keyboards/latincompass/latinpadble/info.json View File

@ -50,7 +50,7 @@
} }
}, },
"bluetooth": { "bluetooth": {
"driver": "BluefruitLE"
"driver": "bluefruit_le"
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",


+ 3
- 0
keyboards/nek_type_a/info.json View File

@ -8,6 +8,9 @@
"pid": "0x0000", "pid": "0x0000",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"bluetooth": {
"driver": "bluefruit_le"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"layouts": { "layouts": {


+ 0
- 1
keyboards/nek_type_a/rules.mk View File

@ -16,6 +16,5 @@ AUDIO_ENABLE = no # Audio output
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
DEBUG_ENABLE = yes DEBUG_ENABLE = yes
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
SRC += matrix.c mcp23017.c SRC += matrix.c mcp23017.c

+ 4
- 1
keyboards/spaceman/pancake/rev1/feather/info.json View File

@ -3,5 +3,8 @@
"cols": ["C7", "D6", "B7", "B6", "F0", "D2", "D3", "F1", "F4", "F5", "F6", "F7"], "cols": ["C7", "D6", "B7", "B6", "F0", "D2", "D3", "F1", "F4", "F5", "F6", "F7"],
"rows": ["B5", "D7", "C6", "D0"] "rows": ["B5", "D7", "C6", "D0"]
}, },
"diode_direction": "COL2ROW"
"diode_direction": "COL2ROW",
"bluetooth": {
"driver": "bluefruit_le"
}
} }

+ 0
- 1
keyboards/spaceman/pancake/rev1/feather/rules.mk View File

@ -14,7 +14,6 @@ BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not b
AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port.
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
# Disable unsupported hardware # Disable unsupported hardware
RGBLIGHT_SUPPORTED = no RGBLIGHT_SUPPORTED = no


+ 3
- 0
keyboards/tokyokeyboard/alix40/info.json View File

@ -13,6 +13,9 @@
"rows": ["D7", "C6", "C7", "B5"] "rows": ["D7", "C6", "C7", "B5"]
}, },
"diode_direction": "ROW2COL", "diode_direction": "ROW2COL",
"bluetooth": {
"driver": "bluefruit_le"
},
"backlight": { "backlight": {
"pin": "B7", "pin": "B7",
"levels": 31, "levels": 31,


+ 0
- 1
keyboards/tokyokeyboard/alix40/rules.mk View File

@ -14,4 +14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 5
- 0
keyboards/woodkeys/meira/featherble/info.json View File

@ -0,0 +1,5 @@
{
"bluetooth": {
"driver": "bluefruit_le"
}
}

+ 0
- 1
keyboards/woodkeys/meira/featherble/rules.mk View File

@ -2,4 +2,3 @@
F_CPU = 8000000 F_CPU = 8000000
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE

+ 1
- 1
users/wanleg/rules.mk View File

@ -22,7 +22,7 @@ ifeq ($(strip $(BT)), yes)
OPT_DEFS += -DBLUEFRUIT OPT_DEFS += -DBLUEFRUIT
#Adafruit Bluefruit controller settings #Adafruit Bluefruit controller settings
BLUETOOTH_ENABLE = yes BLUETOOTH_ENABLE = yes
BLUETOOTH_DRIVER = BluefruitLE
BLUETOOTH_DRIVER = bluefruit_le
F_CPU = 8000000 F_CPU = 8000000
CONSOLE_ENABLE = no # Console for debug(+400) CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = no # Commands for debug and configuration COMMAND_ENABLE = no # Commands for debug and configuration


Loading…
Cancel
Save