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

iot-vinc
Posts: 2
Joined: Tue Jul 23, 2019 5:33 pm

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

Postby iot-vinc » Tue Jul 23, 2019 5:39 pm

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Wed Jul 24, 2019 5:02 am

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

iot-vinc
Posts: 2
Joined: Tue Jul 23, 2019 5:33 pm

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

Postby iot-vinc » Wed Jul 24, 2019 11:47 am

@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

maldus
Posts: 83
Joined: Wed Jun 06, 2018 1:41 pm

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

Postby maldus » Tue Nov 12, 2019 9:35 pm

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?


maldus
Posts: 83
Joined: Wed Jun 06, 2018 1:41 pm

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

Postby maldus » Wed Nov 13, 2019 8:37 am

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?

koendv
Posts: 1
Joined: Thu Aug 13, 2020 6:03 am

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

Postby koendv » Thu Aug 13, 2020 6:05 am

Binaries for 64-bit raspberry pi os "buster":https://github.com/koendv/xtensa-esp32-elf-raspberrypi

Rascalboy775
Posts: 4
Joined: Mon Aug 21, 2023 3:01 pm

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

Postby Rascalboy775 » Mon Aug 21, 2023 3:06 pm

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.

Rascalboy775
Posts: 4
Joined: Mon Aug 21, 2023 3:01 pm

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

Postby Rascalboy775 » Mon Aug 21, 2023 3:48 pm

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.

ESP_Sprite
Posts: 9725
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Aug 22, 2023 1:30 am

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?

Who is online

Users browsing this forum: Baidu [Spider] and 100 guests