mirror of https://github.com/zmkfirmware/zmk.git
Previously the workflow only works if `config_path` is a single
directory. If we use something different, e.g., `config_path:
"dot_config/zmk/config"`, West fails with
```
Run west init -l "/__w/dotfiles/dotfiles/dot_config/corne-zmk/config"
west init -l "/__w/dotfiles/dotfiles/dot_config/corne-zmk/config"
shell: sh -e {0}
env:
build_dir: /tmp/tmp.a9rTeptW6V
base_dir: /__w/dotfiles/dotfiles
zephyr_version: 4.1.0
extra_west_args:
extra_cmake_args: -DSHIELD="corne_right nice_view_adapter nice_view"
display_name: corne_right nice_view_adapter nice_view - nice_nano_v2
artifact_name: corne_right nice_view_adapter nice_view-nice_nano_v2-zmk
=== Initializing from existing manifest repository config
--- Creating /__w/dotfiles/dotfiles/dot_config/corne-zmk/.west and local configuration file
=== Initialized. Now run "west update" inside /__w/dotfiles/dotfiles/dot_config/corne-zmk.
Run west update --fetch-opt=--filter=tree:0
FATAL ERROR: no west workspace found from "/__w/dotfiles/dotfiles"; "west update" requires one.
Things to try:
- Change directory to somewhere inside a west workspace and retry.
- Set ZEPHYR_BASE to a zephyr repository path in a west workspace.
- Run "west init" to set up a workspace here.
- Run "west init -h" for additional information.
```
This commit fixes the issue by introducing `west_working_directory` that
points to the dirname of `config_path`.
|
||
|---|---|---|
| .devcontainer | ||
| .github | ||
| .vscode | ||
| app | ||
| docs | ||
| schema | ||
| .clang-format | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlint | ||
| .pre-commit-config.yaml | ||
| .release-please-manifest.json | ||
| AUTHORS | ||
| CHANGELOG.md | ||
| CODEOWNERS | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| release-please-config.json | ||
README.md
Zephyr™ Mechanical Keyboard (ZMK) Firmware
ZMK Firmware is an open source (MIT) keyboard firmware built on the Zephyr™ Project Real Time Operating System (RTOS). ZMK's goal is to provide a modern, wireless, and powerful firmware free of licensing issues.
Check out the website to learn more: https://zmk.dev/.
You can also come join our ZMK Discord Server.
To review features, check out the feature overview. ZMK is under active development, and new features are listed with the enhancement label in GitHub. Please feel free to add 👍 to the issue description of any requests to upvote the feature.