Skip to content

Arduino IDE selects wrong board package toolchain #5042

@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.

Activity

vshymanskyy

vshymanskyy commented on Jun 15, 2016

@vshymanskyy
Author

#4593 - might be relevant.

cmaglie

cmaglie commented on Jun 15, 2016

@cmaglie
Member

May you post a link to the boards managers packages and the IDE version you're using?

vshymanskyy

vshymanskyy commented on Jun 15, 2016

@vshymanskyy
Author

How to reproduce:

  1. Install Arduino IDE v1.6.9
  2. Install MKR1000 board support from the Boards Manager
  3. Check that "Basics->Blink" example compiles fine for MKR1000 board.
  4. Configure additional Boards Manager source: https://redbearlab.github.io/arduino/package_redbear_index.json
  5. Install RedBead Duo package the Boards Manager
  6. "Basics->Blink" example compilation fails for target MKR1000 board.
  7. See in detailed compilation log, that the wrong toolchain is selected.
facchinm

facchinm commented on Jun 15, 2016

@facchinm
Member

This is probably solved by #4795, would you mind giving the @ArduinoBot build a try?

added this to the Release 1.6.11 milestone on Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Participants

      @cmaglie@vshymanskyy@facchinm

      Issue actions

        Arduino IDE selects wrong board package toolchain · Issue #5042 · arduino/Arduino