Giter Club home page Giter Club logo

Comments (3)

jimblom avatar jimblom commented on July 18, 2024

Hey Shawn!

This is a weird one...

Arduino's SAMD core still (in their SAMD core 1.6.20, at least) installs bossac 1.7.0 (see http://downloads.arduino.cc/packages/package_index.json and CTRL+F for "1.6.20"). It does looks like Adafruit's SAMD boards are packaged with a 1.8.0-48-gb176eee version of bossac, though, and, when installed, it goes into the "packages/arduino/tools" directory. Maybe that's confusing the IDE.

I can recreate this issue if I:

  • Install the Adafruit SAMD board defs (1.2.9)
  • Uninstall the Arduino SAMD board defs (1.6.20)
  • Reinstall the Arduino SAMD board defs (1.6.20)
  • Try to upload -- at this point it tries to use bossac v1.8.

Outside of modifying platforms.txt, I can fix this issue if I:

  • Change board to Arduino/Genuino Zero (Native USB Port)
  • Upload the sketch
  • Change board back to SparkFun SAMD Dev
  • Re-upload sketch

This somehow "corrects" the IDE to use the Arduino-packaged version of the tool instead of the Adafruit one. From here on no board changes seem necessary.

I'm curious why it's failing with the "extra arguments" error on 1.8, but the best fix for now may be specifying the version number of bossa, as you've found in your fix. Looks like Arduino does this in their SAMD platforms.txt. I'll work on getting something committed and pushing a new version to the board manager.

from arduino_boards.

jimblom avatar jimblom commented on July 18, 2024

@ShawnHymel Give the 1.5.3 SparkFun SAMD board defs a try. Should hopefully fix the issue.

Please feel free to open this back up for any similar issue!

Thanks again, Shawn! Take care!

from arduino_boards.

xsk8rat avatar xsk8rat commented on July 18, 2024

Fixed for me! Thank you!

from arduino_boards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.