summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorVictor <lucachi.victor@gmail.com>2024-06-16 12:05:27 +0300
committerGitHub <noreply@github.com>2024-06-16 12:05:27 +0300
commit0823a3920a2c81e3c53859b422d75bae3ca4c54c (patch)
treef6f6d794c3f9b98f6b8628f1ec5c5fd72737695e
downloadzmk-config-0823a3920a2c81e3c53859b422d75bae3ca4c54c.tar.gz
zmk-config-0823a3920a2c81e3c53859b422d75bae3ca4c54c.zip
Initial commit
-rw-r--r--.github/workflows/build.yml5
-rw-r--r--boards/shields/.gitkeep0
-rw-r--r--build.yaml19
-rw-r--r--config/west.yml13
-rw-r--r--zephyr/module.yml3
5 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..d74fb89
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,5 @@
+on: [push, pull_request, workflow_dispatch]
+
+jobs:
+  build:
+    uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
diff --git a/boards/shields/.gitkeep b/boards/shields/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/boards/shields/.gitkeep
diff --git a/build.yaml b/build.yaml
new file mode 100644
index 0000000..f8e9c6c
--- /dev/null
+++ b/build.yaml
@@ -0,0 +1,19 @@
+# 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
+#
+---
diff --git a/config/west.yml b/config/west.yml
new file mode 100644
index 0000000..b886cbe
--- /dev/null
+++ b/config/west.yml
@@ -0,0 +1,13 @@
+manifest:
+  remotes:
+    - name: zmkfirmware
+      url-base: https://github.com/zmkfirmware
+    # Additional modules containing boards/shields/custom code can be listed here as well
+    # See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects
+  projects:
+    - name: zmk
+      remote: zmkfirmware
+      revision: main
+      import: app/west.yml
+  self:
+    path: config
diff --git a/zephyr/module.yml b/zephyr/module.yml
new file mode 100644
index 0000000..1cc2b35
--- /dev/null
+++ b/zephyr/module.yml
@@ -0,0 +1,3 @@
+build:
+  settings:
+    board_root: .