m5stack / Core2-for-AWS-IoT-Kit

Accompanying code for use with AWS IoT Kit content. Works with PlatformIO and ESP-IDF v4.2.
https://m5stack.com/collections/m5-core/products/m5stack-core2-esp32-iot-development-kit-for-aws-iot-edukit
MIT License
127 stars 66 forks source link

Download of ESP-IDF tools is painfully slow #20

Closed scarolan closed 3 years ago

scarolan commented 3 years ago

You might wish to host these files on a CDN or even on github. Or maybe AWS!

I'm a few hours into the installation process and it still has a long way to go. The download speed is measured in kilobits per second.

https://edukit.workshop.aws/en/blinky-hello-world/prerequisites.html#installing-esp-idf-v42

rashedtalukder commented 3 years ago

The ESP-IDF is on GitHub. The background process is retrieving the file from GitHub. AWS or M5Stack does not own the ESP-IDF.

hamrik commented 3 years ago

The IDF libraries are on GitHub indeed, but the build tools are not. The compilers that are downloaded by the install.sh or install.bat scripts for example are pulled from dl.espressif.com which limits download speeds to 80 kbps.