Installation of boards package gives index errors that files are missing

Good afternoon

After adding https://raw.githubusercontent.com/spark … index.json to the preferences in the Arduino IDE (1.8.13) and installing the Sparkfun AVR boards, I get below errors when I go back into the boards manager

Index error: could not find referenced tool name=xtensa-esp32-elf-gcc version=1.22.0-80-g6c4433a-5.2.0 packager=esp32
Index error: could not find referenced tool name=esptool_py version=2.6.1 packager=esp32
Index error: could not find referenced tool name=mkspiffs version=0.2.3 packager=esp32

This is annoying for me, why would I be bothered byESP stuff if I only use AVR?

I’ve seen that it’s in the json so will probably be able to hack it but I would suggest that Sparkfun creates different packages for different architectures.

Notes

Observed it the first time in a normal install of IDE 1.8.5 but could not pin it at that stage. Observed it now while setting up IDE 1.8.13 in portable mode and adding the Sparkfun AVR boards.

That’s odd, you might give it another go. Possibly someone somewhere was editing the boards files when you tried to download causing the error. :frowning:

Thanks, I do not think that that is the case. The observation for 1.8.5 was from a while ago, the observation with 1.8.13 was when I started this thread.

I will check it again when I have time.

Same behaviour for me on macOS Big Sur with Arduino IDE 1.8.13.

Index error: could not find referenced tool name=xtensa-esp32-elf-gcc version=1.22.0-80-g6c4433a-5.2.0 packager=esp32
Index error: could not find referenced tool name=esptool_py version=2.6.1 packager=esp32
Index error: could not find referenced tool name=mkspiffs version=0.2.3 packager=esp32
Index error: could not find referenced tool name=xtensa-esp32-elf-gcc version=1.22.0-80-g6c4433a-5.2.0 packager=esp32
Index error: could not find referenced tool name=esptool_py version=2.6.1 packager=esp32
Index error: could not find referenced tool name=mkspiffs version=0.2.3 packager=esp32

I don’t have a mac to test on but I just did a fresh install of Arduino 1.8.13 on a Windows 10 PC and a fresh install of the Apollo boards package and I’m not able to replicate your results.

Are you just receiving warnings and your Artemis code compiles and uploads OK or is this stopping you from compiling and uploading too?

I’m also wondering if something is up with your other boards packages and that’s causing issues when you go into the boards manager. Have you tried removing all the other boards and reinstalling them?

I’m seeing the same behavior on Mac 11.2.3. This is a fresh install of Arduino, and the only board manager URL I’ve added is https://raw.githubusercontent.com/spark … index.json.

It reports that it can’t find the tools:

Index error: could not find referenced tool name=xtensa-esp32-elf-gcc version=1.22.0-80-g6c4433a-5.2.0 packager=esp32

Index error: could not find referenced tool name=esptool_py version=2.6.1 packager=esp32

Index error: could not find referenced tool name=mkspiffs version=0.2.3 packager=esp32

And then when I try to build for ESP32 (MicroMod board), that fails as well, since it doesn’t have a compiler.


EDIT: Resolved. The problem is that the IDE doesn’t know where to get the esp32 tool dependencies. You need to also add the ESP32 Board Manager URL: https://dl.espressif.com/dl/package_esp32_index.json.

I don’t know if there’s a way to build that directly into the index.

When you do this, however, you’ll likely run into https://github.com/espressif/arduino-esp32/issues/4408 (arduino-esp32 projects fail on macOS 11 “Big Sur”). This has been fixed in the ESP32 upstream. I’ve opened a PR to resolve this. (https://github.com/sparkfun/Arduino_Boards/pull/77)

Just a comment that an Adafruit user was also able to determine the SparkFun board definitions were the issue:

https://forums.adafruit.com/viewtopic.php?f=25&t=177076

I’m the Adafruit user that had the problem…

Adding: https://dl.espressif.com/dl/package_esp32_index.json

to the “Additional Boards Manager URLs” list and then installing the “Expressif Systems” package was the thing that fixed my problem as well.

It looks like this might be a Mac specific issue, thanks for letting us know and thank you to Joe Sz for the work around!

I am having the same issue, currently, and I am on Windows. Tried installing the ESP32 package but I still get the errors. :cry:

Remove anything that got installed on your first try, then delete the JSON file you put in preferences and use the one below instead.

https://raw.githubusercontent.com/espre … index.json

This is still outstanding for the SparkFun AVR board package. I just did an portable install of 1.8.19 on Win11 and only installed the SparkFun AVR board package.

To my knowledge there is no need to have any use of Espressif stuff in the AVR board package.

Sorry for reviving my old topic.