Page 1 of 2

Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Tue Jul 23, 2019 5:39 pm
by iot-vinc
Hello

i have a Raspberry PI 4 4GB RAM - on Buster.
i have installed the Arduino ide which works fine so far.

i wished to add the esp32 Board so i went to the Board Manager search and found it but when i did install i got a error
Tool xtensa-esp32-elf-gcc is not available for your operating system.
java.lang.RuntimeException: java.lang.Exception: Tool xtensa-esp32-elf-gcc is not available for your operating system.
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Tool xtensa-esp32-elf-gcc is not available for your operating system.
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:85)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
any idea how to solve it?

have a nice day
vinc

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Wed Jul 24, 2019 5:02 am
by ESP_Angus
Hi vinc,

Unfortunately we haven't released any toolchains with ARM architecture support yet. This is planned for a future update of the toolchain.

Angus

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Wed Jul 24, 2019 11:47 am
by iot-vinc
@angus
thanks for your feedback, any timeline for this? :oops:
i can't do anything with my newly arrived esp32 Lora Device. :(
have a nice day
vinc

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Tue Nov 12, 2019 9:35 pm
by maldus
I would also be interested in ARM support. I can work with esp-idf v3.3 because I can compile a toolchain with crosstool-ng, but on v4.0 the install and export scripts fail.

Is there a timeline for ARM support?

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Wed Nov 13, 2019 12:48 am
by WiFive

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Wed Nov 13, 2019 8:37 am
by maldus
This is interesting, but it appears there is still no package for linux-arm64:

Code: Select all

$ sh install.sh
ERROR: tool xtensa-esp32-elf does not have versions compatible with linux-arm64
A little digging into `idf_tools.py` confirms that there is a Linux-aarch64 target for my platform, but when trying to download the toolchain it is missing (there is linux-armel but no linux-arm64 in tools/tools.json).

[EDIT]
It looks like the armel version works for arm64 as well; still, the install scripts look for a linux-arm64 target that is not present. Can I specify to use the armel version?

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Thu Aug 13, 2020 6:05 am
by koendv
Binaries for 64-bit raspberry pi os "buster":https://github.com/koendv/xtensa-esp32-elf-raspberrypi

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Mon Aug 21, 2023 3:06 pm
by Rascalboy775
I have the same problem for Debian 12.1 for arm64.
ERROR: tool xtensa-esp32-elf does not have versions compatible with platform linux-arm64
If someone can point me to the updated files, I'd appreciate it. I'll try the raspberry-pi solution in the mean-time.

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Mon Aug 21, 2023 3:48 pm
by Rascalboy775
For a debian 12.1 arm64 environment, I downloaded the raspberry-pi fix and tried the installation. This is the response:
sudo apt install ./xtensa-esp32-elf_8.2.0-2020r2_arm64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'xtensa-esp32-elf' instead of './xtensa-esp32-elf_8.2.0-2020r2_arm64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xtensa-esp32-elf : Depends: python but it is not installable
Depends: python-click but it is not installable
Depends: python-cryptography but it is not installable
Depends: python-dev but it is not installable
Depends: python-future but it is not installable
Depends: python-pip but it is not installable
Depends: python-pyelftools but it is not installable
Depends: python-pyparsing but it is not installable
Depends: python-serial but it is not installable
Depends: python-setuptools but it is not installable
E: Unable to correct problems, you have held broken packages.

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

Posted: Tue Aug 22, 2023 1:30 am
by ESP_Sprite
I think we've been providing arm64 binaries in our standard installation process for ages now... does the procedure at https://docs.espressif.com/projects/esp ... setup.html not work for you?