Skip to content

Commit

Permalink
test: rename shield to matze
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Bidlingmeyer committed Dec 23, 2023
1 parent 3f5c89f commit a35a2d0
Show file tree
Hide file tree
Showing 19 changed files with 61 additions and 59 deletions.
31 changes: 0 additions & 31 deletions boards/shields/corne-dongle/Kconfig.defconfig

This file was deleted.

14 changes: 0 additions & 14 deletions boards/shields/corne-dongle/Kconfig.shield

This file was deleted.

33 changes: 33 additions & 0 deletions boards/shields/matze/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
if SHIELD_MATZE_CENTRAL_LEFT

config ZMK_KEYBOARD_NAME
default "Matze Left"

config ZMK_SPLIT_ROLE_CENTRAL
default y

endif

if SHIELD_MATZE_DONGLE

config ZMK_KEYBOARD_NAME
default "Matze Dongle"

config ZMK_SPLIT_BLE_ROLE_CENTRAL
default y

config ZMK_USB
default y

endif

if SHIELD_MATZE_LEFT || SHIELD_MATZE_RIGHT || SHIELD_MATZE_DONGLE || SHIELD_MATZE_CENTRAL_LEFT

config ZMK_SPLIT
default y

config ZMK_BLE
default y

endif

14 changes: 14 additions & 0 deletions boards/shields/matze/Kconfig.shield
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2020 Pete Johanson
# SPDX-License-Identifier: MIT

config SHIELD_MATZE_LEFT
def_bool $(shields_list_contains,matze_left)

config SHIELD_MATZE_CENTRAL_LEFT
def_bool $(shields_list_contains,matze_central_left)

config SHIELD_MATZE_RIGHT
def_bool $(shields_list_contains,matze_right)

config SHIELD_MATZE_DONGLE
def_bool $(shields_list_contains,matze_dongle)
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
file_format: "1"
id: corne
name: Corne
id: matze
name: Matze
type: shield
url: https://github.com/foostan/crkbd/
requires: [pro_micro]
features:
- keys
siblings:
- corne_left
- corne_central_left
- corne_right
- corne_dongle
- matze_left
- matze_central_left
- matze_right
- matze_dongle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/

#include "corne.dtsi"
#include "matze.dtsi"

&kscan0 {
col-gpios
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/

#include "corne.dtsi"
#include "matze.dtsi"

&kscan0 {
col-gpios
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/

#include "corne.dtsi"
#include "matze.dtsi"

&kscan0 {
col-gpios
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/

#include "corne.dtsi"
#include "matze.dtsi"

&default_transform {
col-offset = <6>;
Expand Down
8 changes: 4 additions & 4 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
include:
# centrals
- board: nrf52840dk_nrf52840
shield: corne_dongle
shield: matze_dongle
- board: nice_nano_v2
shield: corne_central_left
shield: matze_central_left
# peripherals
- board: nice_nano_v2
shield: corne_left
shield: matze_left
- board: nice_nano_v2
shield: corne_right
shield: matze_right
# To reset the boards
- board: nice_nano_v2
shield: settings_reset
Expand Down

0 comments on commit a35a2d0

Please sign in to comment.