Skip to content

Commit

Permalink
fix: namings in dongle caused incorrect build outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
zeljkobekcic committed Jul 31, 2024
1 parent 5ed9722 commit 433999e
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions config/boards/shields/temper-dongle/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if SHIELD_TEMPER_DONGLE
if SHIELD_TEMPER_DONGLE_DONGLE

config ZMK_KEYBOARD_NAME
default "Temper Dongle"
Expand All @@ -8,7 +8,7 @@ config ZMK_SPLIT_ROLE_CENTRAL

endif

if SHIELD_TEMPER_LEFT || SHIELD_TEMPER_RIGHT || SHIELD_TEMPER_DONGLE
if SHIELD_TEMPER_DONGLE_LEFT || SHIELD_TEMPER_DONGLE_RIGHT || SHIELD_TEMPER_DONGLE_DONGLE

config ZMK_SPLIT
default y
Expand Down
6 changes: 3 additions & 3 deletions config/boards/shields/temper-dongle/Kconfig.shield
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright (c) 2020 Pete Johanson
# SPDX-License-Identifier: MIT

config SHIELD_TEMPER_LEFT
config SHIELD_TEMPER_DONGLE_LEFT
def_bool $(shields_list_contains,temper_dongle_left)

config SHIELD_TEMPER_RIGHT
config SHIELD_TEMPER_DONGLE_RIGHT
def_bool $(shields_list_contains,temper_dongle_right)

config SHIELD_TEMPER_DONGLE
config SHIELD_TEMPER_DONGLE_DONGLE
def_bool $(shields_list_contains,temper_dongle_dongle)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
file_format: "1"
id: temper
id: temper_dongle
name: Chocofi Temper
type: shield
url: https://github.com/raeedcho/chocofi-temper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/

#include "temper.dtsi"
#include "temper_dongle.dtsi"

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

#include "temper.dtsi"
#include "temper_dongle.dtsi"

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

#include "temper.dtsi"
#include "temper_dongle.dtsi"

&default_transform {
col-offset = <5>;
Expand Down
5 changes: 2 additions & 3 deletions config/boards/shields/temper/temper.zmk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ requires: [pro_micro]
features:
- keys
siblings:
- temper_dongle_left
- temper_dongle_right
- temper_dongle_dongle
- temper_left
- temper_right

0 comments on commit 433999e

Please sign in to comment.