forked from raeedcho/temper-zmk-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b1e9b9
commit a18c35a
Showing
9 changed files
with
61 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Uncomment the following line to enable deep sleep | ||
CONFIG_ZMK_SLEEP=y | ||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2 | ||
|
||
CONFIG_ZMK_SLEEP=n | ||
# CONFIG_PM_DEVICE=n | ||
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 | ||
CONFIG_ZMK_EXT_POWER=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright (c) 2020 Pete Johanson | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
#include "temper.dtsi" | ||
|
||
&kscan0 { | ||
col-gpios | ||
= <&pro_micro 15 GPIO_ACTIVE_HIGH> | ||
, <&pro_micro 18 GPIO_ACTIVE_HIGH> | ||
, <&pro_micro 19 GPIO_ACTIVE_HIGH> | ||
, <&pro_micro 20 GPIO_ACTIVE_HIGH> | ||
, <&pro_micro 21 GPIO_ACTIVE_HIGH> | ||
; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env zsh | ||
|
||
ZMK_CONFIG_PATH="/Users/zeljkobekcic/Projects/Private/temper-zmk-config/config" | ||
ZMK_EXTRA_MODULES_PATH="/Users/zeljkobekcic/Projects/Private/temper-zmk-config" | ||
OUTPUT_DIRECTORY="/Users/zeljkobekcic/Projects/Private/temper-zmk-config/outputs/" | ||
|
||
rm -rf "$OUTPUT_DIRECTORY" | ||
mkdir -p "$OUTPUT_DIRECTORY" | ||
|
||
( | ||
cd ~/Projects/Private/zmk | ||
source .venv/bin/activate | ||
cd app | ||
west build -d build/temper_left -b nice_nano_v2 --pristine -- -DZMK_CONFIG="$ZMK_CONFIG_PATH" -DSHIELD=temper_left -DZMK_EXTRA_MODULES="$ZMK_EXTRA_MODULES_PATH" | ||
west build -d build/temper_right -b nice_nano_v2 --pristine -- -DZMK_CONFIG="$ZMK_CONFIG_PATH" -DSHIELD=temper_right -DZMK_EXTRA_MODULES="$ZMK_EXTRA_MODULES_PATH" | ||
west build -d build/temper_dongle -b nice_nano_v2 --pristine -- -DZMK_CONFIG="$ZMK_CONFIG_PATH" -DSHIELD=temper_dongle -DZMK_EXTRA_MODULES="$ZMK_EXTRA_MODULES_PATH" | ||
deactivate | ||
|
||
cp build/temper_dongle/zephyr/zmk.uf2 "$OUTPUT_DIRECTORY/temper_dongle.uf2" | ||
cp build/temper_right/zephyr/zmk.uf2 "$OUTPUT_DIRECTORY/temper_right.uf2" | ||
cp build/temper_left/zephyr/zmk.uf2 "$OUTPUT_DIRECTORY/temper_left.uf2" | ||
|
||
rm -rf build | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters