-
I was hoping I could get
The I have a west manifest in my project repo that I was hoping to use just to get the west command extensions and one module import (hal_espressif in this case). Maybe this is complicating things or there's a better way to achieve this? It's not looking like I can do what I want at least without moving the manifest into a separate repo which seems excessive given that it's describing the dependencies of the project source in the (currently) same repo. Is this just how it is? I'm used to Python virtual environments and CMake, and this project structuring feels like I'm supposed to be developing in what I'm currently seeing as a build directory. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
A simple answer is "No. West is designed to have a workspace". With a scheme like Python virtual env, you can't have the T3 topology, which West is required to support. You can have a manifest:
projects:
- name: zephyr
url: https://github.com/zephyrproject-rtos/zephyr
revision: main
path: zephyr
west-commands: scripts/west-commands.yml
import:
path-prefix: foo/modules/
name-allowlist:
- cmsis
- hal_stm32
- picolibc
self:
path: foo You can run This is what you end up with.
|
Beta Was this translation helpful? Give feedback.
A simple answer is "No. West is designed to have a workspace".
With a scheme like Python virtual env, you can't have the T3 topology, which West is required to support.
You can have a
west.yml
just like the following to put everything under your project. But, West still needs a workspace one above your project directory. This puts all modules under your project directory.