platformio-core: build "hang" while installing GIT based platform/frameworks.

When building a project for the first time and the dependent platform(s) are not installed the console output will appear to “hang” with the following output:

> Executing task in folder ESP32CommandStation: .....\platformio.exe run --environment pcb_oled_sh1106 <

Processing pcb_oled_sh1106 (platform: https://github.com/platformio/platform-espressif32.git; board: esp32dev; framework: espidf, arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This project is using the GIT versions for arduino-esp32 and esp-idf via the following platformio.ini overrides:

[env]
# overrides to use GIT versions rather than PIO cached copies.
platform_packages =
  framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
  framework-espidf @ https://github.com/espressif/esp-idf.git#release/v3.2

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

Thanks! A few good things:

  1. New integration for ESP-IDF 4 will be based on the CMake generator. So, we will use CMake to get a list of build items and use the PlatformIO Build system for the rest tasks. We already did this for Zephyr RTOS. It means that you can anytime build the same project with idf.py or PlatformIO.
  2. “menuconfig” - yes, there is a feature request and we will try to resolve it soon.
  3. We currently support only stable software. However, if we will support CMake provided information, it should be possible to use dev-version of ESP-IDF too. It depends on ESP-IDF build process and that all steps are declared in CMake. Otherwise, we will not know how to build some targets which are no declared in CMake.