Skip to content

West espressif install not working #51797

@mredpath2

Description

@mredpath2

After following the steps in zephyr getting started. I have been unable to compile anything for the Espressif esp32c3 or anything else using the espressif toolchain in Ubuntu 22.04.

I have set the ZEPHYR_TOOLCHAIN_VARIANT to espressif. But then it asks for the ESPRESSIF_TOOLCHAIN_PATH environment variable but I don't know where the toolchain is located or how to install it. The esp32c3 board page says to run west blobs fetch hal_espressif but this didn't seem to help.

I have tried a few different locations for the ESPRESSIF_TOOLCHAIN_PATH and it gives me the error:

Unable to find toolchain in
  /path/to/location Run
  `west espressif install` to download it.  Then, export to path accordingly.

However, when I run west espressif install. I get this error

usage: west espressif [-h] [-b BAUD] [-p PORT] [-e ELF] {monitor} west espressif: error: argument command: invalid choice: 'install' (choose from 'monitor')

It appears west espressif no longer has a command called install. I think it used to have this command last time I installed this.

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: ESP32Espressif ESP32

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions