From 395c40f9d9421b13b7a33b4dcd2168e0d6b0c76a Mon Sep 17 00:00:00 2001 From: pbz Date: Wed, 30 Dec 2020 05:04:53 +0000 Subject: [PATCH] BFO-9000 Updates to new split config paradigm --- app/boards/shields/bfo9000/Kconfig.defconfig | 10 ++++++++++ app/boards/shields/bfo9000/bfo9000_left.conf | 2 -- app/boards/shields/bfo9000/bfo9000_right.conf | 2 -- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/app/boards/shields/bfo9000/Kconfig.defconfig b/app/boards/shields/bfo9000/Kconfig.defconfig index 25d6863c..e4b02e8c 100644 --- a/app/boards/shields/bfo9000/Kconfig.defconfig +++ b/app/boards/shields/bfo9000/Kconfig.defconfig @@ -3,6 +3,9 @@ if SHIELD_BFO9000_LEFT +config ZMK_SPLIT_BLE_ROLE_CENTRAL + default y + config ZMK_KEYBOARD_NAME default "BFO9000 Left" @@ -14,3 +17,10 @@ config ZMK_KEYBOARD_NAME default "BFO9000 Right" endif + +if SHIELD_BFO9000_LEFT || SHIELD_BFO9000_RIGHT + +config ZMK_SPLIT + default y + +endif \ No newline at end of file diff --git a/app/boards/shields/bfo9000/bfo9000_left.conf b/app/boards/shields/bfo9000/bfo9000_left.conf index 1e028a78..e69de29b 100644 --- a/app/boards/shields/bfo9000/bfo9000_left.conf +++ b/app/boards/shields/bfo9000/bfo9000_left.conf @@ -1,2 +0,0 @@ -CONFIG_ZMK_SPLIT=y -CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL=y diff --git a/app/boards/shields/bfo9000/bfo9000_right.conf b/app/boards/shields/bfo9000/bfo9000_right.conf index 990cf7c0..e69de29b 100644 --- a/app/boards/shields/bfo9000/bfo9000_right.conf +++ b/app/boards/shields/bfo9000/bfo9000_right.conf @@ -1,2 +0,0 @@ -CONFIG_ZMK_SPLIT=y -CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y