WallaceWilliam / framework-esp8266-rtos-sdk-idf-platformio

Apache License 2.0
13 stars 18 forks source link

toolchain-xtensa-lx106-elf won't install via pio platform install #11

Open bglee opened 3 years ago

bglee commented 3 years ago

When trying to install via "pio platform install" I get the error Error: Could not find the package with 'toolchain-xtensa-lx106-elf @ 8.4.0+esp2020r3' requirements for your system 'windows_amd64' I don't understand why, the platfrom.json looks correct and points to https://raw.githubusercontent.com/WallaceWilliam/xtensa-lx106-elf/master/manifest.json which contains the package that is being asked for:

{ "system": ["windows", "windows_amd64", "windows_x86"], "url": "https://github.com/WallaceWilliam/xtensa-lx106-elf/raw/master/xtensa-lx106-elf-win32-1.22.0-100-ge567ec7-5.2.0.tar.gz", "version": "5.2.0+100" }

I was able to workaround this problem by downloading xtensa-lx106-elf-win32-1.22.0-100-ge567ec7-5.2.0.tar.gz directly and placing it into $HOME.platformio\packages. But I would like to understand what is going wrong. Also thank you for all your work on this project.

DarkDaskin commented 3 years ago

As described in PlatformIO 5.0 migration guide:

PlatformIO Core 5.0 does not support unofficial package repositories declared through packageRepositories in platform.json that was introduced in PlatformIO 3.0.

Please publish your development platforms and toolchains to the PlatformIO Trusted Registry using pio package CLI.

snakeninny commented 1 year ago

Hi @bglee , how did you make it for you? I'm in macOS and have downloaded https://github.com/WallaceWilliam/xtensa-lx106-elf/raw/master/xtensa-lx106-elf-macos-1.22.0-100-ge567ec7-5.2.0.tar.gz, then unzipped twice as toolchain-xtensa-lx106-elf@5.2.0+100 and toolchain-xtensa-lx106-elf in /Users/snakeninny/.platformio/packages:

Screenshot 2022-12-02 at 16 04 56

But I still got this error:

snakeninny@bogon packages % pio platform install custom8266

WARNING: This command is deprecated and will be removed in the next releases. 
Please use `pio pkg install` instead.

Platform Manager: custom8266@1.1.0+sha.086ef91 is already installed
Tool Manager: Installing toolchain-xtensa-lx106-elf @ 5.2.0+100
Error: Could not find the package with 'toolchain-xtensa-lx106-elf @ 5.2.0+100' requirements for your system 'darwin_arm64'

Any ideas? Thank you!