Skip to content

Sloeber tool selction the Arduino IDE way is working based on platform version and not tool version #1145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jantje opened this issue Feb 29, 2020 · 0 comments

Comments

@jantje
Copy link
Member

jantje commented Feb 29, 2020

Describe the bug
When Slober selcts the tool the "arduino IDE way" it not really uses the arduino IDE way. Arduino IDE selects the tool with the same name with the highest version.
Sloeber selects the tool with the same name installed by the platform with the same hardware and with the highest version number

To Reproduce
Steps to reproduce the behavior:

  1. Add json https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
  2. install adafruit nfr52 platform (I tested with 0.18.5 which comes with arm-none-eabi-gcc\7-2017q4 )
    3.install arduino nfr52 (I tested with 1.0.2 which comes with arm-none-eabi-gcc\4.8.3-2014q1)
  3. make sure select the arduino IDE toolchain is on
  4. Create a project based on adafruit nfr52 bluefruit metro
  5. The build fails

Expected behavior
The build should use 7-2017q4 (version 7.0.0 >4.8.3)

Desktop (please complete the following information):

  • all oses

Additional context
The method setTheEnvironmentVariablesAddThePlatformInfo clearly selects the platform based on the platform version. but it should select the tools based on the tools version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant