espressif / idf-installer

ESP IDF Windows Installer
https://dl.espressif.com/dl/esp-idf/
101 stars 21 forks source link

Espressif-IDE 2.7.0 always download crosstool-NG release file from github #160

Closed mzhboy closed 1 year ago

mzhboy commented 1 year ago

Describe the bug unselect [Chip Targets] of [esp32-c3] when installing Espressif-IDE 2.7.0, installer always download riscv32-esp-elf-gcc8_4_0-esp-2021r2-patch5-win64.zip from github, while installer does not have proxy setting so it's extreme slow download process and usually ends installation fail because of gfw.

To Reproduce Steps to reproduce the behavior:

  1. Living in mainland China
  2. fresh install Espressif-IDE 2.7.0
  3. default settings except unselect install support for esp32-c3
  4. continue installation, you installation process will be stuck.

Expected behavior slow download from github and ends with failed installation

Screenshots Snipaste

Snipaste_

igrr commented 1 year ago

This is probably because we also require riscv32-esp-elf-gcc for ESP32-S2 and ESP32-S3 (due to their RISC-V ULP coprocessors), but the installer currently doesn't install riscv32-esp-elf tool for ESP32-S2 and ESP32-S3.

(This was also mentioned in https://github.com/espressif/idf-installer/pull/158#discussion_r1055237061.)

mzhboy commented 1 year ago

anyway, I manage finish install ESP-IDE by

  1. download xpack-riscv-none-elf-gcc-12.2.0-1-win32-x64.zip and put it into Espressif\dist\
  2. select [esp32-c3] (basically leave everything default)

I don't konw which option works, but it worked.

mzhboy commented 1 year ago

I highly suggest download extra package from espressif.com or make offline installer truly offline, we don't really mind a bigger installer package.

georgik commented 1 year ago

Thank you @mzhboy for reporting the problem with the installation. We were able to simulate the problem.

Suggested workaround: Check ESP32-C3 checkbox.

georgik commented 1 year ago

@mzhboy There are updated installers available:

Please test the installation.