Difference between "toolchain-xtensa-esp-elf" and "toolchain-atmelavr"

Hi,

I’m wondering what is the difference between those two tool chains listed in the subject line?

I’m asking because I’m getting a message when starting VSCode.

Would it impact my ESP32 or Arduino projects?

Please enlighten me.

TIA

The atmelavr tool chain would be for those Arduino boards with an Atmel/microchip microcontroller. The Uno for example.

The Extensa tool chain is most likely for the Uno R4 which has an Extensa microcontroller.

PlatformIO will choose which one to use based on the board you are using and have specified in platformio.ini.

Cheers,
Norm.

So there must be somewhere in my ‘settings’ (projects) a reference to the [toolchain-extensa-esp-elf].

I create in the past (approx 6 month ago) some small projects for the ESP32 for testing reason. And as I remember they went smooth and compiled w/o any problems. But what I don’t understand is that this compiler is now missing.

When compiling one of these projects I’m receiving now compile errors.

How can I fix that problem?

dropbox.platformio.ini

Do you have multiple projects at the same time in your VS Code workspace?

If so,

  • make sure you have selected the correct project / environment in the project environment switcher
  • avoid this and open just one project in your workspace at a time.

If you are getting compilation errors, then surely the compiler is not missing?

What are the errors? Can you compile a blink sketch, for example, and post the output of the compilation?

Cheers,
Norm