Skip to content

Commit

Permalink
Simplify dongle config
Browse files Browse the repository at this point in the history
  • Loading branch information
SofusA committed Jan 13, 2024
1 parent b382d5a commit 64cce6a
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 49 deletions.
3 changes: 0 additions & 3 deletions config/boards/shields/sweeple/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT

if SHIELD_SWEEPLE_DONGLE

config ZMK_KEYBOARD_NAME
Expand Down
3 changes: 0 additions & 3 deletions config/boards/shields/sweeple/Kconfig.shield
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT

config SHIELD_SWEEPLE_LEFT
def_bool $(shields_list_contains,sweeple_left)

Expand Down
12 changes: 0 additions & 12 deletions config/boards/shields/sweeple/sweeple.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
CONFIG_ZMK_RGB_UNDERGLOW=n
CONFIG_WS2812_STRIP=n
CONFIG_ZMK_DISPLAY=n

CONFIG_ZMK_SLEEP=y
CONFIG_PM_DEVICE=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
CONFIG_ZMK_EXT_POWER=y


CONFIG_ZMK_KEYBOARD_NAME="Sweeple"

CONFIG_BT_CTLR_TX_PWR_PLUS_8=n
7 changes: 0 additions & 7 deletions config/boards/shields/sweeple/sweeple.dtsi
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/

#include <dt-bindings/zmk/matrix_transform.h>

/ {
Expand Down Expand Up @@ -47,5 +41,4 @@
, <&pro_micro 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
;
};

};
2 changes: 1 addition & 1 deletion config/boards/shields/sweeple/sweeple.zmk.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
file_format: "1"
id: sweeple
name: sweeple
name: Sweeple
type: shield
url: https://github.com/davidphilipbarr/Sweep
requires: [pro_micro]
Expand Down
3 changes: 0 additions & 3 deletions config/boards/shields/sweeple/sweeple_dongle.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

CONFIG_ZMK_SLEEP=n
# CONFIG_PM_DEVICE=n
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
CONFIG_ZMK_EXT_POWER=y
5 changes: 1 addition & 4 deletions config/boards/shields/sweeple/sweeple_left.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
CONFIG_ZMK_SLEEP=y
CONFIG_PM_DEVICE=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
CONFIG_ZMK_EXT_POWER=y

6 changes: 0 additions & 6 deletions config/boards/shields/sweeple/sweeple_left.overlay
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/

#include "sweeple.dtsi"
5 changes: 1 addition & 4 deletions config/boards/shields/sweeple/sweeple_right.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
CONFIG_ZMK_SLEEP=y
CONFIG_PM_DEVICE=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
CONFIG_ZMK_EXT_POWER=y

6 changes: 0 additions & 6 deletions config/boards/shields/sweeple/sweeple_right.overlay
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/

#include "sweeple.dtsi"

&default_transform {
Expand Down

0 comments on commit 64cce6a

Please sign in to comment.