Error: VCS: Could not process command


I want to compile a Arduino and esp-idf project with the following configuration file:

board = esp32dev
board_build.partitions = other/partitions.csv

# Use esp-idf version 3.40001.200521
platform = espressif32@1.12.4
framework = arduino, espidf

platform_packages =

But I get the following error:

Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '--branch', 'idf-release/v4.0', '', 'C:\\.platformio\\.cache\\tmp\\pkg-installing-u29nhb4d']

How can I fix this issue?

This branch does not exist anymore since they’ve deleted it, known issue per espidf-arduino-blink example uncompilable because of missing branch · Issue #524 · platformio/platform-espressif32 · GitHub with workaround being pointing to a fork which still has the branch.

1 Like