Skip to content

Arduino IDE selects wrong board package toolchain #5042

Closed
@vshymanskyy

Description

@vshymanskyy

The Arduino IDE (or arduino-builder), selects the wrong toolchain when some additional platforms are installed through Boards Manager.

For example, if I install both Digistump Oak and ESP8266 community packages, it selects
.arduino15/packages/digistump/tools/xtensa-lx106-elf-gcc instead of
.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc when compiling for regular ESP8266.

It causes more problems like this:
I'm trying to build "Blink" example for MKR100 (after installing RedBear Duo support package):
It fails, because IDE selects ~/.arduino15/packages/RedBear/tools/arm-none-eabi-gcc/4.9-2015-q3 toolchain, and it's not compiling correctly.

Same for some other boards combinations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions