From 2b7afe6cc3138af2be52d0c52805e01b74b2eb71 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 8 Jun 2021 22:27:18 +0000 Subject: [PATCH] Add kconfig to ensure 6 (and only 6) bt profiles are present give the bt selction layer assumes exactly 6 profiles are available --- config/boards/shields/artboard/artboard_left.conf | 3 +++ config/boards/shields/artboard/artboard_right.conf | 3 +++ config/boards/shields/bluehand/bluehand_left.conf | 3 +++ config/boards/shields/bluehand/bluehand_right.conf | 3 +++ config/boards/shields/corne_left/corne_5_col_artsey_left.conf | 3 +++ config/boards/shields/corne_left/corne_artsey_left.conf | 3 +++ .../boards/shields/corne_right/corne_5_col_artsey_right.conf | 3 +++ config/boards/shields/corne_right/corne_artsey_right.conf | 3 +++ config/boards/shields/the_paintbrush/the_paintbrush_left.conf | 3 +++ config/boards/shields/the_paintbrush/the_paintbrush_right.conf | 3 +++ .../boards/shields/tidbit_artsey_left/tidbit_artsey_left.conf | 3 +++ .../shields/tidbit_artsey_right/tidbit_artsey_right.conf | 3 +++ 12 files changed, 36 insertions(+) diff --git a/config/boards/shields/artboard/artboard_left.conf b/config/boards/shields/artboard/artboard_left.conf index c1c879d..1faebef 100755 --- a/config/boards/shields/artboard/artboard_left.conf +++ b/config/boards/shields/artboard/artboard_left.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/artboard/artboard_right.conf b/config/boards/shields/artboard/artboard_right.conf index 8d80e1c..6b9cf6b 100755 --- a/config/boards/shields/artboard/artboard_right.conf +++ b/config/boards/shields/artboard/artboard_right.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/bluehand/bluehand_left.conf b/config/boards/shields/bluehand/bluehand_left.conf index bc7c98a..78ba3e6 100755 --- a/config/boards/shields/bluehand/bluehand_left.conf +++ b/config/boards/shields/bluehand/bluehand_left.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Turn on deep sleep CONFIG_ZMK_SLEEP=y CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 diff --git a/config/boards/shields/bluehand/bluehand_right.conf b/config/boards/shields/bluehand/bluehand_right.conf index bc7c98a..78ba3e6 100755 --- a/config/boards/shields/bluehand/bluehand_right.conf +++ b/config/boards/shields/bluehand/bluehand_right.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Turn on deep sleep CONFIG_ZMK_SLEEP=y CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 diff --git a/config/boards/shields/corne_left/corne_5_col_artsey_left.conf b/config/boards/shields/corne_left/corne_5_col_artsey_left.conf index e7bb92f..b257e92 100755 --- a/config/boards/shields/corne_left/corne_5_col_artsey_left.conf +++ b/config/boards/shields/corne_left/corne_5_col_artsey_left.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/corne_left/corne_artsey_left.conf b/config/boards/shields/corne_left/corne_artsey_left.conf index e7bb92f..b257e92 100755 --- a/config/boards/shields/corne_left/corne_artsey_left.conf +++ b/config/boards/shields/corne_left/corne_artsey_left.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/corne_right/corne_5_col_artsey_right.conf b/config/boards/shields/corne_right/corne_5_col_artsey_right.conf index e7bb92f..b257e92 100755 --- a/config/boards/shields/corne_right/corne_5_col_artsey_right.conf +++ b/config/boards/shields/corne_right/corne_5_col_artsey_right.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/corne_right/corne_artsey_right.conf b/config/boards/shields/corne_right/corne_artsey_right.conf index e7bb92f..b257e92 100755 --- a/config/boards/shields/corne_right/corne_artsey_right.conf +++ b/config/boards/shields/corne_right/corne_artsey_right.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/the_paintbrush/the_paintbrush_left.conf b/config/boards/shields/the_paintbrush/the_paintbrush_left.conf index e7bb92f..b257e92 100755 --- a/config/boards/shields/the_paintbrush/the_paintbrush_left.conf +++ b/config/boards/shields/the_paintbrush/the_paintbrush_left.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/the_paintbrush/the_paintbrush_right.conf b/config/boards/shields/the_paintbrush/the_paintbrush_right.conf index e7bb92f..b257e92 100755 --- a/config/boards/shields/the_paintbrush/the_paintbrush_right.conf +++ b/config/boards/shields/the_paintbrush/the_paintbrush_right.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/tidbit_artsey_left/tidbit_artsey_left.conf b/config/boards/shields/tidbit_artsey_left/tidbit_artsey_left.conf index fdace45..73146aa 100644 --- a/config/boards/shields/tidbit_artsey_left/tidbit_artsey_left.conf +++ b/config/boards/shields/tidbit_artsey_left/tidbit_artsey_left.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y diff --git a/config/boards/shields/tidbit_artsey_right/tidbit_artsey_right.conf b/config/boards/shields/tidbit_artsey_right/tidbit_artsey_right.conf index fdace45..73146aa 100644 --- a/config/boards/shields/tidbit_artsey_right/tidbit_artsey_right.conf +++ b/config/boards/shields/tidbit_artsey_right/tidbit_artsey_right.conf @@ -6,6 +6,9 @@ CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=16 CONFIG_ZMK_COMBO_MAX_KEYS_PER_COMBO=8 CONFIG_ZMK_COMBO_MAX_PRESSED_COMBOS=8 +# Tune bluetooth profiles for quick select +CONFIG_BT_MAX_CONN=6 + # Enable display (layer in use is helpful) CONFIG_ZMK_DISPLAY=y