golioth / docs

Creative Commons Attribution Share Alike 4.0 International
6 stars 11 forks source link

west espressif install throws error #56

Closed szczys closed 2 years ago

szczys commented 3 years ago

Following the quickstart, the west espressif install doesn't work for me: https://github.com/golioth/docs/blob/42a27c38152832125544e2e46f9a07a1e01fc3ae/docs/partials/install-espressif-toolchain.md#L4

$ west espressif install
usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
west: error: argument <command>: invalid choice: 'espressif' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

Should this be west espressif update which I found in the Zephyr docs?

szczys commented 3 years ago

No, it looks like the command is correct. I was poking around and ran west update and then the west espressif install command started working. Not sure the cause or the solution so I'm closing this.

0Grit commented 3 years ago

west update brings in dependencies etc. In this case including the custom west espressif install command for west.

If the docs don't communicate this then this issue should in fact remain open.

I'm working on our developer onboarding flow this upcoming week. Feel free to open issues or ask questions https://github.com/golioth/docs/discussions

szczys commented 2 years ago

Fixed with #165