Skip to content

Commit

Permalink
Update corneish config files
Browse files Browse the repository at this point in the history
  • Loading branch information
teoremma committed Oct 18, 2024
1 parent b3630e3 commit ab4fc13
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 61 deletions.
46 changes: 1 addition & 45 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,5 @@
on: [push, pull_request, workflow_dispatch]

name: Build

jobs:
build:
runs-on: ubuntu-latest
container:
image: zmkfirmware/zmk-build-arm:2.4
name: Build
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache west modules
uses: actions/cache@v2
env:
cache-name: cache-zephyr-modules
with:
path: |
modules/
tools/
zephyr/
bootloader/
zmk/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('manifest-dir/west.yml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: West Init
run: west init -l config
- name: West Update
run: west update
- name: West Zephyr export
run: west zephyr-export
- name: West Build (Reviung41)
run: west build -s zmk/app -b nice_nano -- -DSHIELD=reviung41 -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Reviung41 DTS File
if: ${{ always() }}
run: cat -n build/zephyr/nice_nano.dts.pre.tmp
- name: Reviung41 Kconfig file
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
- name: Rename zmk.uf2
run: cp build/zephyr/zmk.uf2 reviung41_nice_nano.uf2
- name: Archive (Reviung41)
uses: actions/upload-artifact@v2
with:
name: firmware
path: reviung41_nice_nano.uf2
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
22 changes: 22 additions & 0 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file generates the GitHub Actions matrix.
# For simple board + shield combinations, add them to the top level board and
# shield arrays, for more control, add individual board + shield combinations
# to the `include` property. You can also use the `cmake-args` property to
# pass flags to the build command and `artifact-name` to assign a name to
# distinguish build outputs from each other:
#
# board: [ "nice_nano_v2" ]
# shield: [ "corne_left", "corne_right" ]
# include:
# - board: bdn9_rev2
# - board: nice_nano_v2
# shield: reviung41
# - board: nice_nano_v2
# shield: corne_left
# cmake-args: -DCONFIG_ZMK_USB_LOGGING=y
# artifact-name: corne_left_with_logging
#
---
include:
- board: corneish_zen_v1_left
- board: corneish_zen_v1_right
8 changes: 0 additions & 8 deletions config/corne-ish_zen_left.keymap

This file was deleted.

8 changes: 0 additions & 8 deletions config/corne-ish_zen_right.keymap

This file was deleted.

5 changes: 5 additions & 0 deletions config/corneish_zen.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Go to sleep after one hour (1*60*60*1000ms)
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000

# Turn on logging, and set ZMK logging to debug output
# CONFIG_ZMK_USB_LOGGING=y
7 changes: 7 additions & 0 deletions config/corne-ish_zen.keymap → config/corneish_zen.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
#define _BLT 3
#define _LCK 4

/ {
chosen {
zmk,physical-layout = &foostan_corne_6col_layout;
// zmk,physical-layout = &foostan_corne_5col_layout;
};
};

&lt { quick_tap_ms = <200>; };

/ {
Expand Down
3 changes: 3 additions & 0 deletions zephyr/module.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build:
settings:
board_root: .

0 comments on commit ab4fc13

Please sign in to comment.