Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Berylline03 dongle #68

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ include:
shield: berylline_left
- board: nice_nano_v2
shield: berylline_right
- board: seeeduino_xiao_ble
shield: berylline03_dongle
- board: nice_nano_v2
shield: berylline03_left
- board: nice_nano_v2
Expand Down
4 changes: 2 additions & 2 deletions config/boards/shields/berylline03/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT

if SHIELD_BERYLLINE03_LEFT
if SHIELD_BERYLLINE03_DONGLE

config ZMK_KEYBOARD_NAME
default "Berylline v0.3"
Expand All @@ -11,7 +11,7 @@ config ZMK_SPLIT_BLE_ROLE_CENTRAL

endif

if SHIELD_BERYLLINE03_LEFT || SHIELD_BERYLLINE03_RIGHT
if SHIELD_BERYLLINE03_DONGLE || SHIELD_BERYLLINE03_LEFT || SHIELD_BERYLLINE03_RIGHT

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

config SHIELD_BERYLLINE03_DONGLE
def_bool $(shields_list_contains,berylline03_dongle)

config SHIELD_BERYLLINE03_LEFT
def_bool $(shields_list_contains,berylline03_left)

Expand Down
1 change: 1 addition & 0 deletions config/boards/shields/berylline03/berylline03_dongle.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2
13 changes: 13 additions & 0 deletions config/boards/shields/berylline03/berylline03_dongle.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Copyright (c) 2023 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/

#include "berylline03.dtsi"

&kscan0 {
input-gpios
= <&xiao_d 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
;
};