This commit is contained in:
daniel
2023-07-29 15:12:19 +02:00
parent bffb15ca88
commit 0033cd0453
4 changed files with 51 additions and 1 deletions

12
.github/workflows/build.yaml vendored Normal file
View File

@@ -0,0 +1,12 @@
on:
push:
branches: [ "main" ]
pull_request_target:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
uses: tklzg/zmk/.github/workflows/build-user-config.yml@encoder

21
build.yaml Normal file
View File

@@ -0,0 +1,21 @@
# 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, e.g:
#
# board: [ "nice_nano_v2" ]
# shield: [ "corne_left", "corne_right" ]
# include:
# - board: bdn9_rev2
# - board: nice_nano_v2
# shield: reviung41
#
---
include:
- board: nice_nano_v2
shield: ownkb_left nice_view_adapter nice_view
- board: nice_nano_v2
shield: ownkb_left nice_view_adapter nice_view
#- board: nice_nano_v2
#shield: settings_reset

View File

@@ -1,3 +1,9 @@
# Uncomment these two lines to add support for encoders
CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
CONFIG_ZMK_KEYBOARD_NAME="DB OwnKB"
CONFIG_ZMK_IDLE_TIMEOUT=30000
#CONFIG_ZMK_SLEEP=y
#CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000

11
config/west.yml Normal file
View File

@@ -0,0 +1,11 @@
manifest:
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
projects:
- name: zmk
import: app/west.yml
remote: zmkfirmware
revision: main
self:
path: config