This issue covers a meta-tool that would run from the command-line in order to build, flash, run, simulate, integrate, etc Zephyr-based images.
West is to be added to the Zephyr project to fulfill two fundamental requirements:
Features and Commands to be supported:
Name poll.
Reminder: Zephyr is a western wind.
washoe explanationvayu explanationbreezewindvindwestzephzippyzool (Zephyr Tool)zmt (Zephyr Meta Tool)zpztzctl (Zephyr control, eventually we could have zmgr later for management ) "zippy"?
$ grep ^z.*p.* /usr/share/dict/american-english
zap
zap's
zapped
zapper
zapper's
zappers
zapping
zaps
zephyr
zephyr's
zephyrs
zeppelin
zeppelin's
zeppelins
zip
zip's
zipped
zipper
zipper's
zippered
zippering
zippers
zippier
zippiest
zipping
zippy
zips
I think we'd want to keep it short (say, max 4 chars), neither of the shortest two character proposals above were found at least in my Linux distro.
I like the idea of a 4-letter name, so I will add a few to the list, including Johan's
I think we'd want to keep it short (say, max 4 chars)
I'd think we want to keep it clear for people and non-conflicting with the previous generations of tools which smartly wanted to make it short. Existing zephyr-env.sh takes a good lead in that.
Thus, zephyr-tool seems like an obvious choice.
ztool?
@mbolivar @nashif
Here is the roadmap I propose for this tool:
scripts/, documented but not as the default mechanism to build and debug.@carlescufi I'm fine with that if we can come to a resolution quickly on the name.
If the bikeshedding takes more than a week or two, though, I'd like to merge #6832 through the following path:
I have also been investigating ways to support on Windows the Unix feature that adds ZEPHYR_BASE/scripts to PATH via zephyr_env.sh.
One solution is to add the following to zephyr_env.cmd:
set PYTHONPATH="%PYTHONPATH%;%ZEPHYR_BASE%\scripts"
DOSKEY zprog.py=py -3 -m zprog
This will let cmd users type zprog.py at the command line and have the Windows Python launcher (available since 3.3) find the right Python 3 and invoke zprog.py as a module.
Using zprog.py here is just an example. We could do this only for the meta tool as another option.
@nashif and any other interested parties, any comments on the two above proposals?
We've been discussing a bit and have come up with the name west.
This name is:
The name was proposed to the TSC today and received no objections.
If anybody would like to post a strong objection to the name (with a rationale), please do here!
Initial west post is up. Old PR which had introduced zephyr_run.py is now obsolete. Future development will proceed through integration into west.
Linking this to #6770
re:
Bootloader integration. Including image signing, image flashing (with offset) and building the bootloader itself
Good to see this generic tool, things that would be great to see featurewise:
Most helpful comment
I think we'd want to keep it short (say, max 4 chars), neither of the shortest two character proposals above were found at least in my Linux distro.