Skip to content

Commit

Permalink
Change paths for use as module
Browse files Browse the repository at this point in the history
- Namespace `zephyr` under `modules`
- Fix `west-commands` paths to work when ZMK is loaded as module
  (cf, zephyrproject-rtos/west#725)
  • Loading branch information
urob committed Aug 15, 2024
1 parent db191fa commit ebc9cc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/scripts/west-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# SPDX-License-Identifier: MIT

west-commands:
- file: scripts/west_commands/test.py
- file: app/scripts/west_commands/test.py
commands:
- name: test
class: Test
help: run ZMK testsuite
- file: scripts/west_commands/metadata.py
- file: app/scripts/west_commands/metadata.py
commands:
- name: metadata
class: Metadata
Expand Down
3 changes: 2 additions & 1 deletion app/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ manifest:
revision: v3.5.0+zmk-fixes
clone-depth: 1
import:
path-prefix: modules/zephyr
name-blocklist:
- ci-tools
- hal_altera
Expand All @@ -30,4 +31,4 @@ manifest:
- edtt
- trusted-firmware-m
self:
west-commands: scripts/west-commands.yml
west-commands: app/scripts/west-commands.yml

0 comments on commit ebc9cc6

Please sign in to comment.