From 61e7c7e88f6beddb77d094bbf37f9773bfb0b49c Mon Sep 17 00:00:00 2001 From: Ben Kirton Date: Sat, 21 Dec 2024 10:44:31 +1030 Subject: [PATCH] Initial commit --- .github/workflows/build.yml | 6 ++++++ boards/shields/.gitkeep | 0 build.yaml | 20 ++++++++++++++++++++ config/west.yml | 13 +++++++++++++ zephyr/module.yml | 3 +++ 5 files changed, 42 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 boards/shields/.gitkeep create mode 100644 build.yaml create mode 100644 config/west.yml create mode 100644 zephyr/module.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..6d92e26 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,6 @@ +name: Build ZMK firmware +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 diff --git a/build.yaml b/build.yaml new file mode 100644 index 0000000..569dd9f --- /dev/null +++ b/build.yaml @@ -0,0 +1,20 @@ +# 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, `snippet` to add a Zephyr snippet, 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 +# snippet: studio-rpc-usb-uart +# cmake-args: -DCONFIG_ZMK_STUDIO=y +# artifact-name: corne_left_with_studio +# +--- 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: .