Compare commits
38 Commits
master
...
experiment
Author | SHA1 | Date | |
---|---|---|---|
27aa448c1c | |||
6ad09f6aab | |||
69dea59871 | |||
a21137dcab | |||
84c7f2a043 | |||
93aad50f66 | |||
8bfa9fcc48 | |||
154662d4cf | |||
d54600c8aa | |||
999156146b | |||
aea0303fb4 | |||
a83640484d | |||
f552350c06 | |||
ce26164afb | |||
eb1d8f38db | |||
95d64d84a8 | |||
af08714610 | |||
71cd8ca6ed | |||
42205882d7 | |||
c5a27a04ad | |||
8ee0b58f15 | |||
6e2af44df2 | |||
7ea66fa5c4 | |||
09162c7e91 | |||
fa4c9ad355 | |||
762f3c1feb | |||
1f35f407aa | |||
360b3e111f | |||
0002b86f4b | |||
e3a231b240 | |||
ce7114cb52 | |||
85f70974f9 | |||
664b4b61db | |||
7f25cebef8 | |||
de09bf6581 | |||
172b4c8516 | |||
7db1a8fc48 | |||
3d33228247 |
48
.github/workflows/build.yml
vendored
48
.github/workflows/build.yml
vendored
@ -9,10 +9,14 @@ jobs:
|
||||
image: zmkfirmware/zmk-build-arm:stable
|
||||
name: Build
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: apt update; apt install -y nodejs ssh
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Cache west modules
|
||||
uses: actions/cache@v2
|
||||
uses: https://github.com/actions/cache@v2
|
||||
env:
|
||||
cache-name: cache-zephyr-modules
|
||||
with:
|
||||
@ -33,26 +37,36 @@ jobs:
|
||||
run: west update
|
||||
- name: West Zephyr export
|
||||
run: west zephyr-export
|
||||
|
||||
- name: West Build (Corne Left)
|
||||
run: west build -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
||||
- name: Corne Left Kconfig file
|
||||
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
|
||||
- name: Rename zmk.uf2
|
||||
run: cp build/zephyr/zmk.uf2 corne_left_nice_nano_v2.uf2
|
||||
- name: Archive (Corne Left)
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: firmware
|
||||
path: corne_left_nice_nano_v2.uf2
|
||||
# - name: Rename zmk.uf2
|
||||
# run: cp build/zephyr/zmk.uf2 corne_left_nice_nano_v2.uf2
|
||||
# - name: Archive (Corne Left)
|
||||
# uses: https://github.com/actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: firmware
|
||||
# path: corne_left_nice_nano_v2.uf2
|
||||
|
||||
- name: West Build (Corne Right)
|
||||
run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
||||
|
||||
- name: Corne Right Kconfig file
|
||||
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
|
||||
- name: Rename zmk.uf2
|
||||
run: cp build/zephyr/zmk.uf2 corne_right_nice_nano_v2.uf2
|
||||
- name: Archive (Corne Right)
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: firmware
|
||||
path: corne_right_nice_nano_v2.uf2
|
||||
# - name: Rename zmk.uf2
|
||||
# run: cp build/zephyr/zmk.uf2 corne_right_nice_nano_v2.uf2
|
||||
# - name: Archive (Corne Right)
|
||||
# uses: https://github.com/actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: firmware
|
||||
# path: corne_right_nice_nano_v2.uf2
|
||||
# - name: Release
|
||||
|
||||
# - name: Upload artifacts as release
|
||||
# uses: https://github.com/softprops/action-gh-release@v1
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
# with:
|
||||
# files: |
|
||||
# corne_left_nice_nano_v2.uf2
|
||||
# corne_right_nice_nano_v2.uf2
|
||||
|
@ -5,8 +5,10 @@
|
||||
# Uncomment the following line to enable the Corne OLED Display
|
||||
# CONFIG_ZMK_DISPLAY=y
|
||||
|
||||
# Allow to sleep
|
||||
# Allow to sleep
|
||||
CONFIG_ZMK_SLEEP=y
|
||||
CONFIG_ZMK_IDLE_TIMEOUT=30000
|
||||
# Sleep timeout to 15 minutes
|
||||
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
|
||||
|
||||
CONFIG_ZMK_USB_LOGGING=y
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <dt-bindings/zmk/outputs.h>
|
||||
|
||||
&sl {
|
||||
release-after-ms = <2000>;
|
||||
release-after-ms = <1000>;
|
||||
};
|
||||
|
||||
&sk {
|
||||
@ -26,7 +26,7 @@
|
||||
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
|
||||
&sk CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
||||
&sk LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mo 1
|
||||
&kp LGUI &sk LCTRL &kp SPACE &kp LC(BSPC) &sl 2 &sk LALT
|
||||
&kp LGUI &sk LCTRL &kp SPACE &kp LC(LALT) &sl 2 &sk LALT
|
||||
>;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user