Error while pulling old espressif version

Hi,

I cant pull any version of espressif older than 5.0.0:

[env:esp32doit-devkit-v1]
platform = espressif32@4.4.0
board = esp32doit-devkit-v1
framework = espidf

gives me:

MissingPackageManifestError: Could not find one of ‘package.json’ manifest files in the package

but this:

[env:esp32doit-devkit-v1]
platform = espressif32@5.0.0
board = esp32doit-devkit-v1
framework = espidf

works just fine

I tested 4.1.0 and 4.2.0 as well, it looks like every version older than 5.0.0 has this issue.

Help me pleaseee :slight_smile:

4.4.0 is 3 years old. Why do you need 4.4.0?
Do you need a specific ESP-IDF version? If so, which one?

It’s industrial and there are a lot of units, some products have already moved to ESP-IDF 5 and above but not all, some are still in ESP 4.3.2

platform = espressif32 @ 5.0.0 will give you ESP-IDF version 4.4.1
The supported ESP-IDF versions before platform version 5.0.0 are not documented in the release notes.

Changing framework version will force us a full QA cycle, i prefer to stick with 4.3.2 and jump to 5.x.x for next qa cycle.

You think it cannot be solved?

You can try

platform = https://github.com/platformio/platform-espressif32/archive/refs/tags/v4.1.0.zip
platform = https://github.com/platformio/platform-espressif32/archive/refs/tags/v4.0.0.zip

But I don’t know which ESP-IDF versions are supported with these platform versions.

1 Like

Yay, it looks like it did the job, i can compile now!

I had to remove the packages and platforms from my .platformio folder:

framework-espidf* folders from ‘packages’ folder

and espressif32@4.4.0 from ‘platforms’ folder

if will be updates i will drop them here

Thanks!

:+1:

Please let me know which platform version maps to which ESP-IDF version. :slight_smile:

platform = https://github.com/platformio/platform-espressif32/archive/refs/tags/v4.4.0.zip
and 4.1.0 and 4.0.0 give esp-idf 4.3.2

the folders naming is not pretty like before:

instead of espressif32@4.4.0 it shows like

espressif32@src-bf9508fe0aa635fe56fa7d2f844b114a

but it is working

1 Like