question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support use cases other than Zephyr RTOS

See original GitHub issue

West can be already used for other purposes than Zephyr development, even without sacrificing the parts of it that make it convenient for Zephyr.

This issue tracks first-class support for that.

The main issue I’m aware of is an error about a missing zephyr base, which appears if you have a manifest without a zephyr project, and is annoying but can be safely ignored

For now, to work around this, run something like:

west config zephyr.base shut-up-shut-up

The error is:

ERROR: no --zephyr-base given, ZEPHYR_BASE is unset, west config contains no zephyr.base setting, and no manifest project has path "zephyr"

It would be nice to generalize the existing mechanism for setting configuration variables based on the contents of the manifest so you could do something like this:

manifest:
  self:
    path: zephyr
    config-vars:
      - zephyr.base: {abspath}

Where the config-vars key in the manifest’s self subsection (or any project element) would be a list of config_variable: value pairs, where each value is a format string like that passable to west list --format. These values would be set at west update time, as if with west config --local config_variable $(west list --format="value" path_to_project), provided that they do not already have values.

With that, we could move the ZEPHYR_BASE environment setting down into each of the zephyr-specific extension commands, or do some other reasonable thing if we want to keep it inside west, and get rid of the error (and the zephyr-specific error).

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mbolivarcommented, Feb 15, 2020

The idea would be to host its documentation on readthedocs instead. But that will take quite some doing. We want the code to be ready before we try to do that.

1reaction
bengartnercommented, May 3, 2019

I updated to the master instead of the 0.5.8, and it seems like both these issues are resolved. Possibly as a side-effect of removing bootstrapping. So probably no reason to clean track these unless someone sees them in 0.6.0+.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Zephyr Alternatives & Competitors - SourceForge
Compare Zephyr alternatives for your business or organization using the curated list ... From hardware to the cloud, Mbed OS supports more than...
Read more >
FreeRTOS vs. Zephyr Project for Embedded IoT Projects
Learn about the difference between FreeRTOS and Zephyr Project to make the right choice for your embedded project in an article prepared by ......
Read more >
The Zephyr RTOS is awesome - Medium
Zephyr RTOS has good support for firmware management. Besides of Image management, File System management and Log management, OS management the Zephyr RTOS...
Read more >
Learn About | Vision - Zephyr Project
... applicable in a wide diversity of use cases, and currently supports more than 170 hardware devices, more than any other RTOS, while...
Read more >
The Power of Zephyr RTOS - Linux Foundation
The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures; it's optimized for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found