Cannot run platformio for ESP32 on Ubuntu/DigitalOcean

Error: Could not install ‘toolchain-xtensa32’ with version requirements ‘>=2.50200.0’ for your system ‘linux_x86_64’.

Temporarily solved by change in ~/.platformio/platforms/espressif32/

self.packages[‘toolchain-xtensa32’][‘version’] = “~2.50200.0”


self.packages[‘toolchain-xtensa32’][‘version’] = “>=1.50200.0”

But I’ve found this GitHub - espressif/crosstool-NG: crosstool-NG with support for Xtensa where current xtensa toolchain version ends with 1.22.

What’s the correct latest version?

Ivan? Ivan? :o)

Matej @