espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.49k stars 7.26k forks source link

Installation error: universal online installer of ESP-IDF V5.0.1 with C6 target coverage (IDFGH-9698) #11039

Closed loraahd closed 1 year ago

loraahd commented 1 year ago

Answers checklist.

IDF version.

v5.0.1

Operating System used.

Windows

How did you build your project?

Command line with CMake

If you are using Windows, please specify command line type.

PowerShell

What is the expected behavior?

Hello, Unfortunately I am not able to use my ESP32-C6 DEVKITC-1. That is because I am not able to install ESP-IDF V5.0.1 which is the only version that supports C6 targets. Please find attached the error message and the log file. I have no firewall or proxy server issues.

I am new to ESP32 ecosystem, all what I need for the moment is to flash my C6 and send commands to scan and associate the C6 WiFi to an access point.

Anyone could give support please? BR

error ADH.Setup.Log.2023-03-21.001.txt

What is the actual behavior?

ESP-IDF V5.0.1 installation error

Steps to reproduce.

try to install the universal online installer of ESP-IDF V5.0.1 with C6 target coverage, using window installer from the page: https://dl.espressif.com/dl/esp-idf/?idf=4.4

Build or installation Logs.

No response

More Information.

No response

dobairoland commented 1 year ago

Hi @loraahd. Please see https://github.com/espressif/esp-idf#esp-idf-release-and-soc-compatibility. ESP32-C6 is going to be supported by the upcoming v5.1 release (currently the master branch). It is not supported in v5.0.1.

Here is the work-in-progress support status issue: https://github.com/espressif/esp-idf/issues/10423

loraahd commented 1 year ago

Hi @loraahd. Please see https://github.com/espressif/esp-idf#esp-idf-release-and-soc-compatibility. ESP32-C6 is going to be supported by the upcoming v5.1 release (currently the master branch). It is not supported in v5.0.1.

Here is the work-in-progress support status issue: #10423

thanks @dobairoland

loraahd commented 1 year ago

thank you so much unfortunately I am not able to finish the first step because of the installation error that I've attached earlier. it is happening at the end of the installation process, after extracting and after the start of IDF installation. BR

loraahd commented 1 year ago

hi, any idea on when will the c6 target be supported by idf? BR

timfrankentwf commented 1 year ago

The ESP32-C6 support is currently being developed. Therefore, if you want to use the ESP32-C6 you need to use the master branch (which support most of the features already). I cannot say anything about the ETA of the next official release.

When you use the setup, please remove all folders related to the IDF setup and start over using this option: image

loraahd commented 1 year ago

Hello, thank you @timfrankentwf I've tried and got the fatal error below.

Running command: C:\dev_master\tools\tools\idf-git\2.34.2\cmd\git.exe clone --progress -b master --single-branch --shallow-submodules https://gitee.com/EspressifSystems/esp-idf.git "C:\dev_master\esp" Cloning into 'C:\dev_master\esp'.. fatal: unable to access 'https://gitee.com/EspressifSystems/esp-idf.git/': Could not resolve host: gitee.co

loraahd commented 1 year ago

Hello, just noticed that I have the warnings below. knowing that I am not using a proxy or a firewall that can block the access to the servers! Picture5

timfrankentwf commented 1 year ago

Looks like you are unable to connect to the servers, maybe the program is being blocked? Good luck!

loraahd commented 1 year ago

Hello, I've solved server access related issues. I've installed the master branch of the online IDF with C6 support. The, under CMD, I set target as follows: C:\dev\idf\examples\get-started\hello_world>id.fpy --preview set-target esp32c6

but it exits with the following error: CMake Error at C:/dev/idf/tools/cmake/component.cmake:479 (add_library): Cannot find source file:

C:/dev/idf/components/unity/unity/src

Indeed, src folder is missing.

why am I having that error? how to fix it? thanks BR

igrr commented 1 year ago

Can you try running git submodule update --init in c:/dev/idf? This should normally be done by the installer itself, maybe some step was missing.