-
Notifications
You must be signed in to change notification settings - Fork 125
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
bossac fails on Windows 10 #47
Comments
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:
Outside of modifying platforms.txt, I can fix this issue if I:
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. |
@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! |
Fixed for me! Thank you! |
Windows 10
Arduino 1.8.7
SparkFun SAMD Boards 1.5.2
Trying to upload to a SparkFun SAMD21 Mini Breakout, I get the following error:
The only workaround I have found so far is to download bossac 1.7.0 and put it in
C:\Users\%USERNAME%\AppData\Local\Arduino15\packages\arduino\tools\bossac
Then, change line 134 of
C:\Users\%USERNAME%\AppData\Local\Arduino15\packages\SparkFun\hardware\samd\1.5.2\platform.txt
totools.bossac.path={runtime.tools.bossac-1.7.0.path}
Not sure exactly what has changed in bossac 1.8.0, but that command does not seem to like it.
The text was updated successfully, but these errors were encountered: