From 8dab018c243acd94bbc6c93983b02eea996904c5 Mon Sep 17 00:00:00 2001 From: urob <978080+urob@users.noreply.github.com> Date: Thu, 15 Aug 2024 13:24:34 -0400 Subject: [PATCH] Change paths for use as module - Namespace `zephyr` under `modules` - Fix `west-commands` paths to work when ZMK is loaded as module (cf, https://github.com/zephyrproject-rtos/west/issues/725) --- app/scripts/west-commands.yml | 4 ++-- app/west.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/scripts/west-commands.yml b/app/scripts/west-commands.yml index 64583a90678e..40fee6614a86 100644 --- a/app/scripts/west-commands.yml +++ b/app/scripts/west-commands.yml @@ -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 diff --git a/app/west.yml b/app/west.yml index 1b50247786b4..a7ce29056444 100644 --- a/app/west.yml +++ b/app/west.yml @@ -8,6 +8,7 @@ manifest: - name: zephyr remote: zmkfirmware revision: v3.5.0+zmk-fixes + path-prefix: modules/zephyr clone-depth: 1 import: name-blocklist: @@ -30,4 +31,4 @@ manifest: - edtt - trusted-firmware-m self: - west-commands: scripts/west-commands.yml + west-commands: app/scripts/west-commands.yml